Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 195.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.197/2.197, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5025, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.00148/0.5041, allocations: 0.6324 MB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 2.889e-05/0.5041, allocations: 12.91 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.5041, allocations: 0 / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.5042, allocations: 1.062 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.317e-05/0.5042, allocations: 0 / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 2.498e-05/0.5042, allocations: 0 / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.349e-05/0.5043, allocations: 2.094 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.5043, allocations: 1.062 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.053e-05/0.5043, allocations: 0 / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.439e-05/0.5043, allocations: 1.156 kB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.5043, allocations: 0 / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.076e-06/0.5044, allocations: 4 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-06/0.5044, allocations: 1.094 kB / 0.9497 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.5044, allocations: 3.938 kB / 0.9497 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.885e-05/0.5044, allocations: 9.062 kB / 0.9497 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5044, allocations: 5.094 kB / 0.9497 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.02e-07/0.5044, allocations: 0 / 0.9497 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5e-06/0.5045, allocations: 0 / 0.9497 GB, free: 8.602 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001695/0.5046, allocations: 306.8 kB / 0.95 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5047, allocations: 9.656 kB / 0.95 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.832e-05/0.5047, allocations: 30.75 kB / 0.9501 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.657e-05/0.5047, allocations: 9.75 kB / 0.9501 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.524e-05/0.5048, allocations: 169.3 kB / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.5048, allocations: 384 / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.5048, allocations: 1.562 kB / 0.9502 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.5049, allocations: 27.42 kB / 0.9503 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.5049, allocations: 5 kB / 0.9503 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-06/0.5049, allocations: 4 kB / 0.9503 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.5049, allocations: 0 / 0.9503 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.212e-05/0.5049, allocations: 5.312 kB / 0.9503 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.5051, allocations: 387.5 kB / 0.9507 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.39e-05/0.5051, allocations: 170.2 kB / 0.9508 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.5051, allocations: 80.14 kB / 0.9509 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.5051, allocations: 79.27 kB / 0.951 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.5052, allocations: 111.1 kB / 0.9511 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.5052, allocations: 0 / 0.9511 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.925e-05/0.5052, allocations: 30.89 kB / 0.9511 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.5052, allocations: 128 kB / 0.9512 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.5053, allocations: 100.6 kB / 0.9513 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-06/0.5053, allocations: 25.7 kB / 0.9513 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.5053, allocations: 85.92 kB / 0.9514 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.5053, allocations: 0 / 0.9514 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5053, allocations: 11.38 kB / 0.9514 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.5054, allocations: 318.7 kB / 0.9517 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.5054, allocations: 0 / 0.9517 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.826e-06/0.5054, allocations: 0 / 0.9517 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.287e-06/0.5054, allocations: 76.66 kB / 0.9518 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.5054, allocations: 79.22 kB / 0.9519 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.375e-05/0.5055, allocations: 36.14 kB / 0.9519 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5055, allocations: 88.8 kB / 0.952 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5055, allocations: 79.27 kB / 0.9521 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.5055, allocations: 152.6 kB / 0.9522 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-06/0.5056, allocations: 79.22 kB / 0.9523 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.5056, allocations: 151.7 kB / 0.9524 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.5056, allocations: 84.25 kB / 0.9525 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.5056, allocations: 80.44 kB / 0.9526 GB, free: 5.465 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.5057, allocations: 269.4 kB / 0.9529 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.5057, allocations: 102.1 kB / 0.953 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.5057, allocations: 113.8 kB / 0.9531 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5058, allocations: 178.6 kB / 0.9532 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.5058, allocations: 185.3 kB / 0.9534 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.5058, allocations: 185.5 kB / 0.9536 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5059, allocations: 398.9 kB / 0.954 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.5059, allocations: 104.9 kB / 0.9541 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.506, allocations: 106.7 kB / 0.9542 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.506, allocations: 181.5 kB / 0.9543 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.506, allocations: 184.3 kB / 0.9545 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/0.506, allocations: 177.5 kB / 0.9547 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/0.506, allocations: 181.6 kB / 0.9549 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.799e-05/0.5061, allocations: 314.9 kB / 0.9552 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.5061, allocations: 183.4 kB / 0.9553 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.5062, allocations: 181.5 kB / 0.9555 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.565e-05/0.5062, allocations: 106.3 kB / 0.9556 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.5062, allocations: 181.7 kB / 0.9558 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.5062, allocations: 110.9 kB / 0.9559 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.555e-05/0.5063, allocations: 84.88 kB / 0.956 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5063, allocations: 0 / 0.956 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002401/0.5065, allocations: 0 / 0.956 GB, free: 1.812 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/0.5067, allocations: 0.8065 MB / 0.9568 GB, free: 1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.421e-05/0.5067, allocations: 13.12 kB / 0.9568 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.5067, allocations: 0 / 0.9568 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.5067, allocations: 0.9688 kB / 0.9568 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.507, allocations: 0.5208 MB / 0.9573 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.5078, allocations: 1.532 MB / 0.9588 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.5079, allocations: 0.6704 MB / 0.9594 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.552e-06/0.5079, allocations: 1.219 kB / 0.9594 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.508, allocations: 7.438 kB / 0.9594 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.508, allocations: 0 / 0.9594 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/0.581, allocations: 0.7874 MB / 0.9602 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.5812, allocations: 212.3 kB / 0.9604 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.127, allocations: 4 kB / 0.9604 GB, free: 13.52 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches