Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.009116/0.009116, allocations: 106 kB / 15.73 MB, free: 6 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.001809/0.001809, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 0.9504 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8223, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001609/0.824, allocations: 0.6023 MB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.8252, allocations: 1.112 MB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.8253, allocations: 1.094 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.8253, allocations: 3.938 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.8254, allocations: 9.672 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.8259, allocations: 120.2 kB / 1.089 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.8261, allocations: 85.69 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.8261, allocations: 12.31 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.8262, allocations: 34.42 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.8263, allocations: 30.86 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.8263, allocations: 7.219 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.8264, allocations: 22.12 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.8264, allocations: 7.312 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.662e-05/0.8265, allocations: 30.2 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.8267, allocations: 81.64 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8267, allocations: 1.094 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8267, allocations: 0 / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.8267, allocations: 4 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003988/0.8271, allocations: 379.3 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8272, allocations: 9.969 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.349e-05/0.8272, allocations: 32.73 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.8272, allocations: 4.25 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.8273, allocations: 167.7 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.8274, allocations: 2.281 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.8274, allocations: 5.688 kB / 1.09 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.569e-05/0.8275, allocations: 42.81 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8275, allocations: 3.938 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.8275, allocations: 0.9062 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.8275, allocations: 1.453 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.8276, allocations: 7.578 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.8279, allocations: 285.9 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.828, allocations: 31.44 kB / 1.09 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.828, allocations: 12.41 kB / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.828, allocations: 0 / 1.09 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.8281, allocations: 65.97 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.8281, allocations: 0 / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001865/0.8283, allocations: 61.17 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.8284, allocations: 53.48 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.8284, allocations: 104.6 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8285, allocations: 35.7 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.8285, allocations: 86.88 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.8285, allocations: 6.719 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.8286, allocations: 28.97 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.8287, allocations: 314 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.661e-05/0.8288, allocations: 31.19 kB / 1.091 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.8288, allocations: 48.86 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.8289, allocations: 91.5 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8289, allocations: 0 / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002372/0.8292, allocations: 138.6 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.8292, allocations: 39.17 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8292, allocations: 1.797 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8293, allocations: 1.062 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.752e-05/0.8293, allocations: 1.703 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8293, allocations: 9.906 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.8295, allocations: 32.89 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.8296, allocations: 5.109 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.807e-05/0.8296, allocations: 119.8 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.8297, allocations: 2.766 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.8297, allocations: 4.703 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8297, allocations: 0.9375 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8297, allocations: 5.625 kB / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8297, allocations: 0 / 1.092 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.8298, allocations: 166.8 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8298, allocations: 0 / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.8298, allocations: 0 / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.8298, allocations: 5.344 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8299, allocations: 0.7031 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8299, allocations: 1 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8299, allocations: 0.75 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.836e-05/0.83, allocations: 88.53 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.83, allocations: 82.05 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.83, allocations: 1.953 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.83, allocations: 1.766 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.8301, allocations: 2.688 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.8301, allocations: 1.922 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.8301, allocations: 86.31 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8301, allocations: 0 / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002095/0.8303, allocations: 14.27 kB / 1.092 GB, free: 1.305 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003336/0.8307, allocations: 0.6218 MB / 1.093 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.8309, allocations: 126.6 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8309, allocations: 0 / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.831, allocations: 12.62 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.8312, allocations: 11.81 kB / 1.093 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.8327, allocations: 1.364 MB / 1.094 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.8331, allocations: 0.6787 MB / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.8331, allocations: 3.031 kB / 1.095 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.8331, allocations: 9.672 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8331, allocations: 4.75 kB / 1.095 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.8553, allocations: 1.992 MB / 1.097 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.738, allocations: 3.125 kB / 1.097 GB, free: 14.2 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches