Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE",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.0009756/0.0009757, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007168/0.007168, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 12 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5556/0.556, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002139/0.5581, allocations: 1.896 MB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.6906, allocations: 146.7 MB / 1.168 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.6909, allocations: 7.938 kB / 1.168 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.6917, allocations: 0.768 MB / 1.169 GB, free: 9.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.6923, allocations: 470.8 kB / 1.169 GB, free: 9.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.6931, allocations: 350.3 kB / 1.17 GB, free: 9.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.6935, allocations: 0.5536 MB / 1.17 GB, free: 8.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.6937, allocations: 82.94 kB / 1.17 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.6949, allocations: 319.4 kB / 1.171 GB, free: 8.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.6953, allocations: 459.7 kB / 1.171 GB, free: 7.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.6954, allocations: 8 kB / 1.171 GB, free: 7.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.6958, allocations: 295.5 kB / 1.171 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.696, allocations: 179.7 kB / 1.172 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.6962, allocations: 267.7 kB / 1.172 GB, free: 7.031 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.6968, allocations: 0.7005 MB / 1.172 GB, free: 6.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6968, allocations: 0 / 1.172 GB, free: 6.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6968, allocations: 0 / 1.172 GB, free: 6.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.6968, allocations: 0 / 1.172 GB, free: 6.328 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001288/0.6981, allocations: 0.9679 MB / 1.173 GB, free: 5.309 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.6981, allocations: 16.02 kB / 1.173 GB, free: 5.293 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.652e-05/0.6982, allocations: 54.55 kB / 1.174 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.6997, allocations: 194.7 kB / 1.174 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.7002, allocations: 478.8 kB / 1.174 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.7002, allocations: 16.38 kB / 1.174 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.7003, allocations: 16 kB / 1.174 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.7011, allocations: 335.1 kB / 1.175 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7011, allocations: 0 / 1.175 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.7012, allocations: 11.98 kB / 1.175 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7012, allocations: 4 kB / 1.175 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.7024, allocations: 340.6 kB / 1.175 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.7043, allocations: 1.116 MB / 1.176 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7054, allocations: 403.7 kB / 1.176 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.7061, allocations: 205.6 kB / 1.177 GB, free: 2.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.7061, allocations: 15.86 kB / 1.177 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007776/0.7069, allocations: 304.8 kB / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.744e-06/0.7069, allocations: 0 / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.008892/0.7158, allocations: 1.205 MB / 1.178 GB, free: 464 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.7159, allocations: 85.09 kB / 1.178 GB, free: 360 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7171, allocations: 1.341 MB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.7171, allocations: 29.7 kB / 1.179 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.7174, allocations: 364.4 kB / 1.18 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.7175, allocations: 106.6 kB / 1.18 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.7175, allocations: 29.7 kB / 1.18 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.7176, allocations: 325.9 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.7183, allocations: 167.9 kB / 1.18 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.7189, allocations: 230.7 kB / 1.181 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.7202, allocations: 404.1 kB / 1.181 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7202, allocations: 0 / 1.181 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003977/0.7242, allocations: 0.7064 MB / 1.182 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7242, allocations: 4 kB / 1.182 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7242, allocations: 0 / 1.182 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.7253, allocations: 180.7 kB / 1.182 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.7256, allocations: 67.89 kB / 1.182 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007081/0.7327, allocations: 2.112 MB / 1.184 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.7332, allocations: 39.88 kB / 1.184 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.7333, allocations: 19.98 kB / 1.184 GB, free: 10.05 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.7336, allocations: 294.2 kB / 1.184 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.7337, allocations: 82.88 kB / 1.184 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/0.7378, allocations: 0.7478 MB / 1.185 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.7378, allocations: 8 kB / 1.185 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.7378, allocations: 0 / 1.185 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.7378, allocations: 4 kB / 1.185 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.7384, allocations: 0.5738 MB / 1.186 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7384, allocations: 0 / 1.186 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.7387, allocations: 43.97 kB / 1.186 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/0.7396, allocations: 184.5 kB / 1.186 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.7397, allocations: 19.97 kB / 1.186 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007041/0.7467, allocations: 2.103 MB / 1.188 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7467, allocations: 3.938 kB / 1.188 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003894/0.7506, allocations: 0.7502 MB / 1.189 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.7508, allocations: 159.9 kB / 1.189 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.7508, allocations: 8 kB / 1.189 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.7513, allocations: 27.97 kB / 1.189 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.7514, allocations: 23.97 kB / 1.189 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.7514, allocations: 15.98 kB / 1.189 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008903/0.7523, allocations: 1.01 MB / 1.19 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7523, allocations: 4 kB / 1.19 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000435/0.7528, allocations: 108 kB / 1.19 GB, free: 3.656 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005124/0.7579, allocations: 1.635 MB / 1.192 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.7595, allocations: 0.5491 MB / 1.192 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7595, allocations: 3.938 kB / 1.192 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.7604, allocations: 355.2 kB / 1.193 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006856/0.7611, allocations: 123.6 kB / 1.193 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.7752, allocations: 6.698 MB / 1.199 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.7757, allocations: 0.9723 MB / 1.2 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003553/0.776, allocations: 86.86 kB / 1.2 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/0.7763, allocations: 263.3 kB / 1.2 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of SimCode: time 9.42e-07/0.7764, allocations: 0 / 1.2 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8099/1.586, allocations: 16.86 MB / 1.217 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.587, allocations: 270.3 kB / 1.217 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.871, allocations: 0 / 1.217 GB, free: 7.852 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches