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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 219.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.856/2.856, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 66.17 kB / 1.117 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004138/0.3024, allocations: 2.256 MB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.185/0.4873, allocations: 154 MB / 1.436 GB, free: 14.8 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.4876, allocations: 11.88 kB / 1.436 GB, free: 14.79 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.4887, allocations: 0.7795 MB / 1.437 GB, free: 14.01 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009611/0.4897, allocations: 0.5142 MB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009751/0.4906, allocations: 354.6 kB / 1.438 GB, free: 13.14 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.4915, allocations: 0.581 MB / 1.438 GB, free: 12.56 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4917, allocations: 60.88 kB / 1.438 GB, free: 12.51 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.4932, allocations: 377.6 kB / 1.438 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.4939, allocations: 0.5308 MB / 1.439 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.43e-05/0.494, allocations: 24 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.4947, allocations: 315.5 kB / 1.439 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.4949, allocations: 191.6 kB / 1.44 GB, free: 11.1 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.4951, allocations: 265.9 kB / 1.44 GB, free: 10.84 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4962, allocations: 0.7544 MB / 1.441 GB, free: 10.08 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4962, allocations: 0 / 1.441 GB, free: 10.08 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4962, allocations: 0 / 1.441 GB, free: 10.08 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.4963, allocations: 0 / 1.441 GB, free: 10.08 MB / 1.139 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.001894/0.4982, allocations: 1.051 MB / 1.442 GB, free: 8.992 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4982, allocations: 12.03 kB / 1.442 GB, free: 8.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.619e-05/0.4983, allocations: 50.55 kB / 1.442 GB, free: 8.922 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.5001, allocations: 219.2 kB / 1.442 GB, free: 8.707 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.5009, allocations: 448.3 kB / 1.442 GB, free: 8.238 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5009, allocations: 12.38 kB / 1.442 GB, free: 8.227 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.5009, allocations: 20 kB / 1.442 GB, free: 8.207 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.5019, allocations: 334.9 kB / 1.443 GB, free: 7.863 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5019, allocations: 0 / 1.443 GB, free: 7.863 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.502, allocations: 8 kB / 1.443 GB, free: 7.855 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.502, allocations: 4 kB / 1.443 GB, free: 7.852 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.5034, allocations: 344.6 kB / 1.443 GB, free: 7.516 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.5058, allocations: 1.088 MB / 1.444 GB, free: 6.375 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.507, allocations: 399.8 kB / 1.444 GB, free: 5.969 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/0.5077, allocations: 193.5 kB / 1.445 GB, free: 5.773 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.5077, allocations: 11.94 kB / 1.445 GB, free: 5.762 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000899/0.5086, allocations: 294.1 kB / 1.445 GB, free: 5.457 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.575e-06/0.5086, allocations: 4 kB / 1.445 GB, free: 5.453 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.00941/0.518, allocations: 1.146 MB / 1.446 GB, free: 4.297 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.5181, allocations: 85.09 kB / 1.446 GB, free: 4.195 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.5197, allocations: 1.369 MB / 1.447 GB, free: 2.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.5198, allocations: 33.7 kB / 1.447 GB, free: 2.781 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.5201, allocations: 376.4 kB / 1.448 GB, free: 2.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5203, allocations: 103.2 kB / 1.448 GB, free: 2.309 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.5204, allocations: 61.67 kB / 1.448 GB, free: 2.242 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5206, allocations: 325.9 kB / 1.448 GB, free: 1.918 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.5213, allocations: 175.7 kB / 1.448 GB, free: 1.746 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.522, allocations: 225.9 kB / 1.449 GB, free: 1.504 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.5234, allocations: 396.8 kB / 1.449 GB, free: 1.105 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5234, allocations: 3.938 kB / 1.449 GB, free: 1.102 MB / 1.139 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004285/0.5277, allocations: 0.72 MB / 1.45 GB, free: 380 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5277, allocations: 8 kB / 1.45 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5277, allocations: 0 / 1.45 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.5288, allocations: 176.7 kB / 1.45 GB, free: 192 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.5292, allocations: 63.89 kB / 1.45 GB, free: 128 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008397/0.5376, allocations: 2.199 MB / 1.452 GB, free: 13.81 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.5381, allocations: 35.86 kB / 1.452 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.5382, allocations: 23.92 kB / 1.452 GB, free: 13.75 MB / 1.154 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.0004221/0.5386, allocations: 298.2 kB / 1.452 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.5387, allocations: 95.33 kB / 1.453 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004545/0.5433, allocations: 0.8135 MB / 1.453 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5433, allocations: 4.062 kB / 1.453 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5433, allocations: 4 kB / 1.453 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5433, allocations: 7.969 kB / 1.453 GB, free: 12.52 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.544, allocations: 0.5497 MB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.544, allocations: 0 / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.5444, allocations: 51.91 kB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.5454, allocations: 180.6 kB / 1.454 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.5454, allocations: 11.98 kB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008029/0.5535, allocations: 2.184 MB / 1.456 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5535, allocations: 3.984 kB / 1.456 GB, free: 9.379 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.5579, allocations: 0.7635 MB / 1.457 GB, free: 8.594 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.5581, allocations: 83.31 kB / 1.457 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.5583, allocations: 15.94 kB / 1.457 GB, free: 8.496 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.5588, allocations: 27.91 kB / 1.457 GB, free: 8.469 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.5589, allocations: 19.97 kB / 1.457 GB, free: 8.449 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.5589, allocations: 19.97 kB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001484/0.5604, allocations: 1.014 MB / 1.458 GB, free: 7.418 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5604, allocations: 4 kB / 1.458 GB, free: 7.414 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000709/0.5611, allocations: 111.9 kB / 1.458 GB, free: 7.305 MB / 1.154 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * 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.006338/0.5675, allocations: 1.629 MB / 1.46 GB, free: 5.801 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.5694, allocations: 0.5296 MB / 1.46 GB, free: 5.258 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5694, allocations: 64 / 1.46 GB, free: 5.258 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.5705, allocations: 346.4 kB / 1.461 GB, free: 4.906 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.5712, allocations: 123.3 kB / 1.461 GB, free: 4.793 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.5874, allocations: 6.396 MB / 1.467 GB, free: 14.22 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007077/0.5881, allocations: 0.9762 MB / 1.468 GB, free: 13.22 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.5884, allocations: 94.84 kB / 1.468 GB, free: 13.13 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.5888, allocations: 271.3 kB / 1.468 GB, free: 12.86 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/0.5888, allocations: 0 / 1.468 GB, free: 12.86 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05946/0.6483, allocations: 18.53 MB / 1.486 GB, free: 10.49 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.42, allocations: 1.25 kB / 1.486 GB, free: 10.49 MB / 1.186 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.113500159000978]