Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.0008528/0.0008527, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005168/0.005168, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.135/2.135, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003218, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5775, allocations: 142.4 MB / 0.9552 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.0008073/0.5783, allocations: 432.3 kB / 0.9556 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.5792, allocations: 0.802 MB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.5793, allocations: 0 / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.5793, allocations: 1.469 kB / 0.9564 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.5794, allocations: 7.922 kB / 0.9564 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.562e-05/0.5795, allocations: 14.45 kB / 0.9564 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.5796, allocations: 33.3 kB / 0.9565 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.5797, allocations: 16.02 kB / 0.9565 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.5797, allocations: 20.77 kB / 0.9565 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.5798, allocations: 17.8 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.5798, allocations: 2.375 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.5798, allocations: 1.188 kB / 0.9565 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.5799, allocations: 5.094 kB / 0.9565 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.5799, allocations: 41.28 kB / 0.9566 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.957e-05/0.58, allocations: 35.2 kB / 0.9566 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.58, allocations: 4 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.58, allocations: 0 / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.58, allocations: 4 kB / 0.9566 GB, free: 6.621 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.0004223/0.5804, allocations: 368.8 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.5805, allocations: 9.906 kB / 0.957 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.5805, allocations: 34.75 kB / 0.957 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.5805, allocations: 15.69 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.5806, allocations: 167.3 kB / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.5807, allocations: 384 / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.5807, allocations: 1.812 kB / 0.9572 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.5809, allocations: 86.17 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.5809, allocations: 7.938 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.581, allocations: 3.938 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.581, allocations: 0.9375 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.5813, allocations: 87.33 kB / 0.9573 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.5816, allocations: 266.6 kB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.5818, allocations: 71.7 kB / 0.9577 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.5819, allocations: 48.28 kB / 0.9577 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.582, allocations: 4 kB / 0.9577 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.582, allocations: 32.09 kB / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.582, allocations: 0 / 0.9577 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005438/0.5825, allocations: 158.9 kB / 0.9579 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.5826, allocations: 52.75 kB / 0.9579 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.646e-05/0.5826, allocations: 111.7 kB / 0.9581 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.5826, allocations: 25.7 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5827, allocations: 89.58 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.5827, allocations: 13.66 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.5827, allocations: 15.44 kB / 0.9582 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.5828, allocations: 314.8 kB / 0.9585 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.5829, allocations: 43.16 kB / 0.9585 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.5831, allocations: 41.38 kB / 0.9586 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.5833, allocations: 97.8 kB / 0.9587 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5833, allocations: 4 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003059/0.5837, allocations: 120.7 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5837, allocations: 5.5 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5837, allocations: 0 / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5837, allocations: 1.375 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.5838, allocations: 22.77 kB / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5838, allocations: 0 / 0.9588 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.5839, allocations: 28.83 kB / 0.9588 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5839, allocations: 0 / 0.9588 GB, free: 4.59 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 5.017e-05/0.584, allocations: 112.8 kB / 0.9589 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.584, allocations: 5.641 kB / 0.959 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.5844, allocations: 128 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5844, allocations: 0 / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5844, allocations: 0.875 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5844, allocations: 0 / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5845, allocations: 173.2 kB / 0.9592 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5846, allocations: 17.06 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.281e-05/0.5847, allocations: 19.02 kB / 0.9593 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5847, allocations: 3.984 kB / 0.9593 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5847, allocations: 5.188 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5847, allocations: 0 / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5847, allocations: 0.9062 kB / 0.9593 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.585, allocations: 223.8 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.5851, allocations: 78.27 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.5851, allocations: 1.094 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5852, allocations: 18.69 kB / 0.9596 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.5852, allocations: 2.406 kB / 0.9596 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.5852, allocations: 0.9062 kB / 0.9596 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.806e-05/0.5853, allocations: 89.83 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5853, allocations: 4 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002093/0.5855, allocations: 6.719 kB / 0.9597 GB, free: 3.789 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.0005314/0.586, allocations: 0.7554 MB / 0.9604 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.5864, allocations: 88.83 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5864, allocations: 0.8438 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5865, allocations: 54.09 kB / 0.9606 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.5868, allocations: 9.891 kB / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.5872, allocations: 163.1 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.591e-05/0.5873, allocations: 0.6798 MB / 0.9614 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.5874, allocations: 1.375 kB / 0.9614 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.5874, allocations: 16.8 kB / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.5874, allocations: 0 / 0.9614 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4445/1.032, allocations: 1.306 MB / 0.9627 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.032, allocations: 198.6 kB / 0.9629 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/3.04, allocations: 0 / 0.9629 GB, free: 1.266 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches