Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.001694/0.001694, 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.001889/0.001889, allocations: 191.9 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.163/1.163, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.306/2.306, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 64.67 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2139, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002947/0.2169, allocations: 2.264 MB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1195/0.3364, allocations: 148.3 MB / 1.199 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.3366, allocations: 7.938 kB / 1.199 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.3374, allocations: 0.7603 MB / 1.2 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.338, allocations: 486.8 kB / 1.2 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.3388, allocations: 345.7 kB / 1.201 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.3393, allocations: 0.5498 MB / 1.201 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3395, allocations: 71.25 kB / 1.201 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3407, allocations: 336.8 kB / 1.202 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004486/0.3412, allocations: 467.7 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.3412, allocations: 12 kB / 1.202 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.3417, allocations: 287.6 kB / 1.202 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3419, allocations: 187.6 kB / 1.203 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.3421, allocations: 249.9 kB / 1.203 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.3427, allocations: 0.7084 MB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3428, allocations: 4 kB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3428, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3428, allocations: 0 / 1.203 GB, free: 12.75 MB / 0.9669 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.001403/0.3442, allocations: 1.084 MB / 1.205 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3442, allocations: 11.97 kB / 1.205 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.452e-05/0.3443, allocations: 50.55 kB / 1.205 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3458, allocations: 194.8 kB / 1.205 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.3463, allocations: 490.7 kB / 1.205 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.3463, allocations: 16.38 kB / 1.205 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.3464, allocations: 23.98 kB / 1.205 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.3472, allocations: 334.9 kB / 1.206 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3472, allocations: 3.938 kB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3473, allocations: 11.94 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3473, allocations: 4 kB / 1.206 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.3485, allocations: 336.6 kB / 1.206 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3504, allocations: 1.116 MB / 1.207 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3514, allocations: 407.5 kB / 1.207 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.3521, allocations: 205.6 kB / 1.208 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3521, allocations: 11.92 kB / 1.208 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.3529, allocations: 304.8 kB / 1.208 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.683e-06/0.3529, allocations: 0 / 1.208 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008426/0.3613, allocations: 1.217 MB / 1.209 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3614, allocations: 81.11 kB / 1.209 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3625, allocations: 1.337 MB / 1.211 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3625, allocations: 33.7 kB / 1.211 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.3627, allocations: 376.4 kB / 1.211 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.3628, allocations: 90.66 kB / 1.211 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3629, allocations: 69.67 kB / 1.211 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.363, allocations: 321.9 kB / 1.211 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/0.3636, allocations: 171.7 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/0.3643, allocations: 229.8 kB / 1.212 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.3655, allocations: 400.5 kB / 1.212 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3655, allocations: 0 / 1.212 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003745/0.3692, allocations: 0.7157 MB / 1.213 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3693, allocations: 4 kB / 1.213 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3693, allocations: 0 / 1.213 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.3702, allocations: 180.7 kB / 1.213 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.3706, allocations: 67.89 kB / 1.213 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006818/0.3774, allocations: 2.111 MB / 1.215 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.3778, allocations: 39.88 kB / 1.215 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.3779, allocations: 19.98 kB / 1.215 GB, free: 292 kB / 0.9669 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.0002832/0.3782, allocations: 299.2 kB / 1.215 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.502e-05/0.3783, allocations: 78.97 kB / 1.216 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.3822, allocations: 0.759 MB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3822, allocations: 4 kB / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3823, allocations: 0 / 1.216 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3823, allocations: 7.969 kB / 1.216 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.3828, allocations: 0.5664 MB / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3828, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.383, allocations: 51.91 kB / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009248/0.384, allocations: 184.6 kB / 1.217 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.384, allocations: 11.98 kB / 1.217 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.3907, allocations: 2.099 MB / 1.219 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3907, allocations: 3.984 kB / 1.219 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.3945, allocations: 0.7589 MB / 1.22 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.3946, allocations: 152 kB / 1.22 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.3946, allocations: 8 kB / 1.22 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.3951, allocations: 27.97 kB / 1.22 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.3951, allocations: 23.97 kB / 1.22 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.3952, allocations: 15.98 kB / 1.22 GB, free: 11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008236/0.396, allocations: 1.01 MB / 1.221 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.396, allocations: 0 / 1.221 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004368/0.3965, allocations: 115.8 kB / 1.221 GB, free: 9.879 MB / 0.9825 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.004833/0.4013, allocations: 1.626 MB / 1.223 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.4028, allocations: 0.5455 MB / 1.223 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4029, allocations: 4.062 kB / 1.223 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.4037, allocations: 358.3 kB / 1.224 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.4043, allocations: 119.4 kB / 1.224 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.4175, allocations: 6.724 MB / 1.23 GB, free: 416 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4179, allocations: 0.98 MB / 1.231 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.4182, allocations: 74.94 kB / 1.231 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.4185, allocations: 267.3 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.4185, allocations: 4 kB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.492/3.91, allocations: 17.25 MB / 1.248 GB, free: 192 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/3.911, allocations: 277 kB / 1.249 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/6.45, allocations: 3.5 kB / 1.249 GB, free: 191.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches