Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_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.007774/0.007774, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001754/0.001755, allocations: 193.6 kB / 16.68 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7358, allocations: 159.1 MB / 1.22 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003702/0.7396, allocations: 2.203 MB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1724/0.912, allocations: 150.5 MB / 1.369 GB, free: 8.836 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.9123, allocations: 7.938 kB / 1.369 GB, free: 8.828 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.9135, allocations: 0.7834 MB / 1.37 GB, free: 8.043 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0008917/0.9144, allocations: 494.6 kB / 1.371 GB, free: 7.559 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.9155, allocations: 396.7 kB / 1.371 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008115/0.9164, allocations: 0.5654 MB / 1.371 GB, free: 6.605 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.9166, allocations: 84.7 kB / 1.372 GB, free: 6.523 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.9179, allocations: 366.2 kB / 1.372 GB, free: 6.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.9185, allocations: 479.7 kB / 1.372 GB, free: 5.711 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.9186, allocations: 28 kB / 1.372 GB, free: 5.684 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007072/0.9193, allocations: 295.6 kB / 1.373 GB, free: 5.395 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.9196, allocations: 191.6 kB / 1.373 GB, free: 5.207 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.9199, allocations: 258 kB / 1.373 GB, free: 4.953 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.9211, allocations: 0.7428 MB / 1.374 GB, free: 4.211 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9212, allocations: 0 / 1.374 GB, free: 4.211 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9212, allocations: 0 / 1.374 GB, free: 4.211 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.9212, allocations: 0 / 1.374 GB, free: 4.211 MB / 1.092 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.002091/0.9233, allocations: 1.111 MB / 1.375 GB, free: 3.047 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9233, allocations: 15.97 kB / 1.375 GB, free: 3.031 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.535e-05/0.9234, allocations: 54.55 kB / 1.375 GB, free: 2.969 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.9251, allocations: 199.3 kB / 1.375 GB, free: 2.773 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.9258, allocations: 495.6 kB / 1.376 GB, free: 2.246 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.9258, allocations: 12.38 kB / 1.376 GB, free: 2.234 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.432e-05/0.9259, allocations: 20 kB / 1.376 GB, free: 2.215 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.9269, allocations: 339.1 kB / 1.376 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.9269, allocations: 0 / 1.376 GB, free: 1.867 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.9269, allocations: 11.94 kB / 1.376 GB, free: 1.855 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.927, allocations: 4 kB / 1.376 GB, free: 1.852 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.9283, allocations: 336.7 kB / 1.376 GB, free: 1.523 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.9307, allocations: 1.128 MB / 1.377 GB, free: 344 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.9319, allocations: 397.4 kB / 1.378 GB, free: 15.93 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007458/0.9327, allocations: 213.4 kB / 1.378 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.9327, allocations: 11.92 kB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009326/0.9337, allocations: 317.2 kB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 3.196e-06/0.9337, allocations: 0 / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.009465/0.9432, allocations: 1.213 MB / 1.38 GB, free: 14.13 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.9433, allocations: 85.11 kB / 1.38 GB, free: 14.03 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.9449, allocations: 1.341 MB / 1.381 GB, free: 12.68 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.945, allocations: 33.7 kB / 1.381 GB, free: 12.64 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.9454, allocations: 364.5 kB / 1.381 GB, free: 12.28 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9455, allocations: 107.1 kB / 1.381 GB, free: 12.18 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.9456, allocations: 65.67 kB / 1.381 GB, free: 12.11 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.9458, allocations: 321.9 kB / 1.382 GB, free: 11.79 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.9466, allocations: 175.9 kB / 1.382 GB, free: 11.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008112/0.9474, allocations: 231.7 kB / 1.382 GB, free: 11.37 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.9489, allocations: 395.1 kB / 1.383 GB, free: 10.97 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.9489, allocations: 4 kB / 1.383 GB, free: 10.96 MB / 1.107 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004397/0.9533, allocations: 0.7157 MB / 1.383 GB, free: 10.24 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9534, allocations: 8 kB / 1.383 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9534, allocations: 0 / 1.383 GB, free: 10.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.9546, allocations: 176.7 kB / 1.383 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.955, allocations: 63.89 kB / 1.383 GB, free: 9.996 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.9634, allocations: 2.304 MB / 1.386 GB, free: 7.555 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.964, allocations: 35.91 kB / 1.386 GB, free: 7.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.9641, allocations: 15.98 kB / 1.386 GB, free: 7.504 MB / 1.107 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.0004439/0.9645, allocations: 301.7 kB / 1.386 GB, free: 7.199 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.9647, allocations: 91.33 kB / 1.386 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.969, allocations: 0.7467 MB / 1.387 GB, free: 6.352 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.969, allocations: 4 kB / 1.387 GB, free: 6.348 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.969, allocations: 4 kB / 1.387 GB, free: 6.344 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.9691, allocations: 3.984 kB / 1.387 GB, free: 6.34 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007523/0.9698, allocations: 0.5664 MB / 1.387 GB, free: 5.723 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.9698, allocations: 4.062 kB / 1.387 GB, free: 5.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.9701, allocations: 47.97 kB / 1.387 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.9712, allocations: 184.6 kB / 1.388 GB, free: 5.488 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.9713, allocations: 11.98 kB / 1.388 GB, free: 5.477 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008048/0.9793, allocations: 2.303 MB / 1.39 GB, free: 3.031 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.9793, allocations: 0 / 1.39 GB, free: 3.031 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.9836, allocations: 0.7633 MB / 1.391 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.9837, allocations: 156.5 kB / 1.391 GB, free: 2.07 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.9838, allocations: 11.94 kB / 1.391 GB, free: 2.059 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.9843, allocations: 27.97 kB / 1.391 GB, free: 2.031 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.9844, allocations: 23.95 kB / 1.391 GB, free: 2.008 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.9844, allocations: 19.97 kB / 1.391 GB, free: 1.988 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001152/0.9856, allocations: 1.003 MB / 1.392 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9856, allocations: 3.938 kB / 1.392 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005102/0.9861, allocations: 115.9 kB / 1.392 GB, free: 0.8711 MB / 1.107 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.006023/0.9922, allocations: 1.641 MB / 1.394 GB, free: 15.36 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.9941, allocations: 0.5452 MB / 1.394 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9941, allocations: 4.062 kB / 1.394 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.9951, allocations: 358.4 kB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006952/0.9958, allocations: 131 kB / 1.395 GB, free: 14.31 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.011, allocations: 6.341 MB / 1.401 GB, free: 7.801 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/1.012, allocations: 0.9645 MB / 1.402 GB, free: 6.809 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003664/1.012, allocations: 82.92 kB / 1.402 GB, free: 6.727 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.013, allocations: 267.3 kB / 1.402 GB, free: 6.465 MB / 1.123 GB Notification: Performance of SimCode: time 5.01e-07/1.013, allocations: 0 / 1.402 GB, free: 6.465 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05488/1.068, allocations: 17.97 MB / 1.42 GB, free: 4.691 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.58, allocations: 10.88 kB / 1.42 GB, free: 4.684 MB / 1.139 GB (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches