Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log",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.001279/0.001279, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.115/2.115, allocations: 390.3 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.89 kB / 0.8127 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4746, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001494/0.4761, allocations: 0.6593 MB / 0.9504 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006223/0.4768, allocations: 0.7979 MB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.4768, allocations: 1.344 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.4768, allocations: 0 / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.4769, allocations: 3.938 kB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001076/0.477, allocations: 14.39 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.177e-05/0.4771, allocations: 28.91 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.679e-05/0.4771, allocations: 3.812 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/0.4772, allocations: 10.48 kB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.4772, allocations: 15.69 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.4773, allocations: 1.406 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.4773, allocations: 2.312 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.4773, allocations: 1.344 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.4773, allocations: 13.17 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.529e-05/0.4774, allocations: 24.02 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4774, allocations: 0 / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4774, allocations: 1.344 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.4774, allocations: 0 / 0.9513 GB, free: 7.945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002933/0.4777, allocations: 342.3 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.4777, allocations: 9.406 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.4778, allocations: 31.88 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.946e-05/0.4778, allocations: 2.031 kB / 0.9517 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.932e-05/0.4778, allocations: 169.6 kB / 0.9518 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4779, allocations: 5.906 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.4779, allocations: 5.406 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.478, allocations: 49.55 kB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.478, allocations: 7.922 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.478, allocations: 4 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.478, allocations: 1.281 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4782, allocations: 30.78 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.4784, allocations: 240.5 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.4785, allocations: 50.84 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.4786, allocations: 18.56 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.4786, allocations: 1.344 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.4786, allocations: 35.84 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4786, allocations: 0 / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002956/0.4789, allocations: 79.73 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.479, allocations: 52.59 kB / 0.9524 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.167e-05/0.479, allocations: 107.1 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.479, allocations: 25.7 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.4791, allocations: 85.17 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.4791, allocations: 13.12 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.4791, allocations: 12.19 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.999e-05/0.4791, allocations: 319.9 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.4792, allocations: 20.23 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.4793, allocations: 13.73 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4794, allocations: 36.23 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4794, allocations: 7.875 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001655/0.4796, allocations: 72.16 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.4796, allocations: 5.469 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4796, allocations: 3.938 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.4796, allocations: 1.375 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.4797, allocations: 10.02 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4797, allocations: 0 / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.4798, allocations: 7.672 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4798, allocations: 0 / 0.9531 GB, free: 6.078 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 (2): * Single equations (assignments): 2 * 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 3.731e-05/0.4798, allocations: 116.2 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.4799, allocations: 5.156 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.48, allocations: 70.5 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4801, allocations: 0 / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4801, allocations: 1.375 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.4801, allocations: 0 / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.422e-05/0.4802, allocations: 161.9 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4802, allocations: 4.031 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.4802, allocations: 17.67 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4802, allocations: 1.406 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.4802, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4803, allocations: 1.438 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4803, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.4804, allocations: 166.3 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.4805, allocations: 78.52 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.4805, allocations: 1.844 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.4805, allocations: 6.672 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.4806, allocations: 1.781 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4806, allocations: 0 / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.883e-05/0.4806, allocations: 83.28 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4806, allocations: 3.938 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001985/0.4808, allocations: 3.594 kB / 0.9538 GB, free: 5.344 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 (2): * Single equations (assignments): 2 * 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.0003218/0.4811, allocations: 0.703 MB / 0.9545 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.4813, allocations: 37.75 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4813, allocations: 0 / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.4814, allocations: 19.89 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.4817, allocations: 12.23 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.482, allocations: 139 kB / 0.9547 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.119e-05/0.4821, allocations: 0.6813 MB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.863e-05/0.4821, allocations: 9.047 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.4821, allocations: 12.42 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.4821, allocations: 0 / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.599/3.081, allocations: 1.235 MB / 0.9565 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/10.19, allocations: 11.14 kB / 0.9566 GB, free: 3.031 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Log.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches