Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.001266/0.001266, 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.001386/0.001386, allocations: 198.5 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.241/2.241, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5409, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001446/0.5424, allocations: 0.7608 MB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005904/0.543, allocations: 0.8622 MB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.543, allocations: 1.375 kB / 0.9507 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.543, allocations: 3.938 kB / 0.9507 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.5431, allocations: 5.312 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.773e-05/0.5432, allocations: 20.05 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.942e-05/0.5432, allocations: 44.34 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.5433, allocations: 16.11 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.91e-05/0.5433, allocations: 14.86 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.5433, allocations: 17.42 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.5433, allocations: 5.312 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.5433, allocations: 2.75 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.5434, allocations: 5.359 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.5434, allocations: 16.06 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.801e-05/0.5434, allocations: 42.67 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.5434, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.91e-07/0.5434, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.964e-06/0.5434, allocations: 0 / 0.9508 GB, free: 7.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002767/0.5437, allocations: 374.2 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.317e-05/0.5437, allocations: 12.19 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.716e-05/0.5438, allocations: 32.12 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.5438, allocations: 3.688 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.315e-05/0.5439, allocations: 171 kB / 0.9514 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.5439, allocations: 4.375 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.5439, allocations: 3.125 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5441, allocations: 66.84 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.5441, allocations: 3.938 kB / 0.9515 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.5441, allocations: 5.375 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.5441, allocations: 0 / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.5443, allocations: 67.61 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.5446, allocations: 267.8 kB / 0.9518 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.5447, allocations: 51.86 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.5449, allocations: 39.41 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.5449, allocations: 5.75 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.5449, allocations: 30.56 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.5449, allocations: 0 / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004233/0.5453, allocations: 138.2 kB / 0.9521 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.5454, allocations: 57.06 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.792e-05/0.5454, allocations: 106.5 kB / 0.9522 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.5454, allocations: 25.7 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.5454, allocations: 86.23 kB / 0.9523 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.5455, allocations: 10.09 kB / 0.9523 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.5455, allocations: 12.09 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.5455, allocations: 319.9 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.5457, allocations: 34.44 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.5458, allocations: 36.33 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.546, allocations: 80.27 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.546, allocations: 3.938 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002475/0.5463, allocations: 100.8 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5463, allocations: 6.344 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.5463, allocations: 3.938 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.5463, allocations: 0 / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.5464, allocations: 14.52 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.5464, allocations: 1.156 kB / 0.9529 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.5465, allocations: 14.36 kB / 0.9529 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.5465, allocations: 5.297 kB / 0.9529 GB, free: 5.688 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 (3): * Single equations (assignments): 3 * 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.135e-05/0.5465, allocations: 116.4 kB / 0.953 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.5466, allocations: 1.219 kB / 0.9531 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.5466, allocations: 9.25 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5466, allocations: 0 / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5466, allocations: 1.219 kB / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.5466, allocations: 0 / 0.9531 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.5467, allocations: 169.3 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5467, allocations: 7.938 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.5468, allocations: 14.36 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.5468, allocations: 1.031 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5468, allocations: 5.438 kB / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5468, allocations: 0 / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5468, allocations: 0 / 0.9532 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.5471, allocations: 200.1 kB / 0.9534 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.5471, allocations: 78.73 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.5471, allocations: 1.375 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.5472, allocations: 13.55 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.5473, allocations: 7.297 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.5473, allocations: 0 / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.5473, allocations: 90.14 kB / 0.9536 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5473, allocations: 4 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002022/0.5475, allocations: 6.125 kB / 0.9536 GB, free: 4.969 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 (3): * Single equations (assignments): 3 * 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.0004286/0.548, allocations: 0.7408 MB / 0.9544 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.5482, allocations: 67.2 kB / 0.9544 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.5482, allocations: 0 / 0.9544 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5484, allocations: 40.64 kB / 0.9545 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.5486, allocations: 12.97 kB / 0.9545 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.5489, allocations: 160.9 kB / 0.9546 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.505e-05/0.549, allocations: 0.6834 MB / 0.9553 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.5491, allocations: 1.766 kB / 0.9553 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.5491, allocations: 18.14 kB / 0.9553 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.5491, allocations: 4 kB / 0.9553 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.436/1.985, allocations: 1.408 MB / 0.9567 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/1.985, allocations: 208.9 kB / 0.9569 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/4.081, allocations: 0.9062 kB / 0.9569 GB, free: 2.34 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches