Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002002/0.002002, allocations: 102.5 kB / 16.45 MB, free: 6.5 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.002377/0.002377, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_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.002001/0.002001, allocations: 66.84 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3802, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003872/0.3841, allocations: 2.251 MB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1888/0.5729, allocations: 153.9 MB / 1.473 GB, free: 6.582 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002364/0.5731, allocations: 7.938 kB / 1.473 GB, free: 6.574 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.5743, allocations: 0.7795 MB / 1.474 GB, free: 5.793 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009497/0.5752, allocations: 0.5219 MB / 1.475 GB, free: 5.27 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.5762, allocations: 338.7 kB / 1.475 GB, free: 4.938 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.000763/0.577, allocations: 0.5849 MB / 1.475 GB, free: 4.348 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.5772, allocations: 68.62 kB / 1.475 GB, free: 4.285 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.5784, allocations: 365.2 kB / 1.476 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.579, allocations: 0.5348 MB / 1.476 GB, free: 3.406 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.5791, allocations: 27.94 kB / 1.476 GB, free: 3.379 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007307/0.5798, allocations: 303.6 kB / 1.477 GB, free: 3.082 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.5801, allocations: 191.6 kB / 1.477 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.5803, allocations: 265.9 kB / 1.477 GB, free: 2.633 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.5814, allocations: 0.7582 MB / 1.478 GB, free: 1.871 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5814, allocations: 0 / 1.478 GB, free: 1.871 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.163e-06/0.5814, allocations: 0 / 1.478 GB, free: 1.871 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.5814, allocations: 0 / 1.478 GB, free: 1.871 MB / 1.17 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.001819/0.5832, allocations: 1.13 MB / 1.479 GB, free: 0.6875 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.5833, allocations: 11.98 kB / 1.479 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.5834, allocations: 58.55 kB / 1.479 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.5851, allocations: 211.2 kB / 1.479 GB, free: 412 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.5859, allocations: 0.5035 MB / 1.48 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.5859, allocations: 16.36 kB / 1.48 GB, free: 15.84 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.5859, allocations: 24 kB / 1.48 GB, free: 15.81 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/0.5869, allocations: 330.9 kB / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5869, allocations: 0 / 1.48 GB, free: 15.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.587, allocations: 15.98 kB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.587, allocations: 4 kB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.5884, allocations: 336.7 kB / 1.48 GB, free: 15.13 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.5907, allocations: 1.12 MB / 1.482 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.592, allocations: 379.2 kB / 1.482 GB, free: 13.56 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007231/0.5927, allocations: 197.5 kB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.5927, allocations: 11.86 kB / 1.482 GB, free: 13.35 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008999/0.5936, allocations: 304.8 kB / 1.482 GB, free: 13.04 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/0.5936, allocations: 0 / 1.482 GB, free: 13.04 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009343/0.603, allocations: 1.218 MB / 1.484 GB, free: 11.79 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.603, allocations: 81.11 kB / 1.484 GB, free: 11.69 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.6047, allocations: 1.361 MB / 1.485 GB, free: 10.32 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.6047, allocations: 33.7 kB / 1.485 GB, free: 10.28 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.6051, allocations: 376.5 kB / 1.485 GB, free: 9.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.6052, allocations: 103.2 kB / 1.485 GB, free: 9.809 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.6053, allocations: 69.61 kB / 1.486 GB, free: 9.734 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.6055, allocations: 325.9 kB / 1.486 GB, free: 9.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.6062, allocations: 183.7 kB / 1.486 GB, free: 9.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.607, allocations: 225.9 kB / 1.486 GB, free: 8.988 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.6084, allocations: 392 kB / 1.487 GB, free: 8.594 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6084, allocations: 0 / 1.487 GB, free: 8.594 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004257/0.6126, allocations: 0.7239 MB / 1.487 GB, free: 7.859 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6127, allocations: 4 kB / 1.487 GB, free: 7.855 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.6127, allocations: 0 / 1.487 GB, free: 7.855 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.6138, allocations: 181 kB / 1.487 GB, free: 7.676 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.6142, allocations: 63.91 kB / 1.488 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008444/0.6226, allocations: 2.307 MB / 1.49 GB, free: 5.164 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005831/0.6232, allocations: 43.86 kB / 1.49 GB, free: 5.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.6233, allocations: 19.98 kB / 1.49 GB, free: 5.102 MB / 1.186 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.0004142/0.6237, allocations: 290.2 kB / 1.49 GB, free: 4.809 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6238, allocations: 95.31 kB / 1.49 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004344/0.6282, allocations: 0.7506 MB / 1.491 GB, free: 3.953 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.6282, allocations: 4 kB / 1.491 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.6282, allocations: 0 / 1.491 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6282, allocations: 3.984 kB / 1.491 GB, free: 3.945 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/0.629, allocations: 0.582 MB / 1.492 GB, free: 3.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.629, allocations: 0 / 1.492 GB, free: 3.312 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.6293, allocations: 43.97 kB / 1.492 GB, free: 3.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.6303, allocations: 176.6 kB / 1.492 GB, free: 3.094 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.6304, allocations: 19.97 kB / 1.492 GB, free: 3.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008312/0.6387, allocations: 2.284 MB / 1.494 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.6387, allocations: 7.969 kB / 1.494 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004342/0.643, allocations: 0.7673 MB / 1.495 GB, free: 15.85 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.6432, allocations: 156.4 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.6433, allocations: 4 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.6437, allocations: 27.92 kB / 1.495 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.6438, allocations: 31.95 kB / 1.495 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.6439, allocations: 11.98 kB / 1.495 GB, free: 15.61 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001171/0.6451, allocations: 1.022 MB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6451, allocations: 0 / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005551/0.6456, allocations: 111.8 kB / 1.496 GB, free: 14.48 MB / 1.201 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.006231/0.6518, allocations: 1.65 MB / 1.498 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.6538, allocations: 0.5358 MB / 1.498 GB, free: 12.41 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.6538, allocations: 4 kB / 1.498 GB, free: 12.41 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.6549, allocations: 342.6 kB / 1.499 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.6556, allocations: 130.8 kB / 1.499 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.6716, allocations: 6.387 MB / 1.505 GB, free: 5.375 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.6723, allocations: 0.9761 MB / 1.506 GB, free: 4.375 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003643/0.6727, allocations: 87.05 kB / 1.506 GB, free: 4.289 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.6731, allocations: 279.3 kB / 1.506 GB, free: 4.016 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.6731, allocations: 0 / 1.506 GB, free: 4.016 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.7262, allocations: 18.19 MB / 1.524 GB, free: 1.98 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.16, allocations: 6.5 kB / 1.524 GB, free: 1.977 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.068438195856288]