Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 103.7 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 497.2 MB / 0.7811 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 66.39 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 173.9 MB / 1.304 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004673/0.3519, allocations: 2.311 MB / 1.306 GB, free: 15.28 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1819/0.5338, allocations: 152.5 MB / 1.455 GB, free: 6.211 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.534, allocations: 0 / 1.455 GB, free: 6.211 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.5342, allocations: 51.45 kB / 1.455 GB, free: 6.16 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.5346, allocations: 103.2 kB / 1.455 GB, free: 6.059 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007717/0.5353, allocations: 299 kB / 1.456 GB, free: 5.766 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.5358, allocations: 431.8 kB / 1.456 GB, free: 5.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.536, allocations: 71.72 kB / 1.456 GB, free: 5.27 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5375, allocations: 297.6 kB / 1.456 GB, free: 5.004 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.5377, allocations: 179.3 kB / 1.456 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.5378, allocations: 32 kB / 1.456 GB, free: 4.797 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005461/0.5383, allocations: 287.5 kB / 1.457 GB, free: 4.516 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/0.5384, allocations: 79.73 kB / 1.457 GB, free: 4.438 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.5386, allocations: 159.2 kB / 1.457 GB, free: 4.281 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007496/0.5393, allocations: 0.4902 MB / 1.457 GB, free: 3.789 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.5393, allocations: 0 / 1.457 GB, free: 3.789 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5393, allocations: 0 / 1.457 GB, free: 3.789 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.5394, allocations: 4 kB / 1.457 GB, free: 3.785 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001593/0.5409, allocations: 0.7128 MB / 1.458 GB, free: 3.023 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.541, allocations: 12.92 kB / 1.458 GB, free: 3.012 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.88e-05/0.5411, allocations: 66.7 kB / 1.458 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.5438, allocations: 267.4 kB / 1.459 GB, free: 2.676 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.5444, allocations: 303.3 kB / 1.459 GB, free: 2.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.5444, allocations: 24.55 kB / 1.459 GB, free: 2.312 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.5445, allocations: 24 kB / 1.459 GB, free: 2.289 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.546, allocations: 432.5 kB / 1.459 GB, free: 1.859 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.546, allocations: 0 / 1.459 GB, free: 1.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.546, allocations: 15.94 kB / 1.459 GB, free: 1.844 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.546, allocations: 4 kB / 1.459 GB, free: 1.84 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.5483, allocations: 0.5291 MB / 1.46 GB, free: 1.312 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.5517, allocations: 1.132 MB / 1.461 GB, free: 128 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.5539, allocations: 446.3 kB / 1.461 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.555, allocations: 208.7 kB / 1.462 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.5551, allocations: 16.31 kB / 1.462 GB, free: 15.46 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.5551, allocations: 38.5 kB / 1.462 GB, free: 15.41 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.265e-06/0.5551, allocations: 0 / 1.462 GB, free: 15.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.0159/0.571, allocations: 1.718 MB / 1.463 GB, free: 13.64 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.5711, allocations: 59.41 kB / 1.463 GB, free: 13.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.5714, allocations: 304.5 kB / 1.464 GB, free: 13.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.015e-05/0.5715, allocations: 29.7 kB / 1.464 GB, free: 13.23 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5717, allocations: 168.4 kB / 1.464 GB, free: 13.06 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.5718, allocations: 95.2 kB / 1.464 GB, free: 12.97 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.5719, allocations: 73.92 kB / 1.464 GB, free: 12.89 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5721, allocations: 346.7 kB / 1.464 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.5732, allocations: 204.3 kB / 1.464 GB, free: 12.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.5742, allocations: 255 kB / 1.465 GB, free: 12.07 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.5763, allocations: 438.3 kB / 1.465 GB, free: 11.63 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5763, allocations: 0 / 1.465 GB, free: 11.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007208/0.5835, allocations: 0.9006 MB / 1.466 GB, free: 10.72 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.5836, allocations: 8 kB / 1.466 GB, free: 10.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5836, allocations: 7.938 kB / 1.466 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/0.5855, allocations: 273.4 kB / 1.466 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.586, allocations: 75.81 kB / 1.466 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.6016, allocations: 4.093 MB / 1.47 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.6024, allocations: 71.75 kB / 1.47 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.6025, allocations: 15.97 kB / 1.47 GB, free: 5.898 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002212/0.6027, allocations: 149 kB / 1.471 GB, free: 5.746 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.6028, allocations: 43.77 kB / 1.471 GB, free: 5.703 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007603/0.6104, allocations: 0.9429 MB / 1.472 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.6104, allocations: 4 kB / 1.472 GB, free: 4.746 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.6104, allocations: 3.938 kB / 1.472 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6104, allocations: 0 / 1.472 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.611, allocations: 425 kB / 1.472 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.611, allocations: 0 / 1.472 GB, free: 4.277 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.6114, allocations: 51.95 kB / 1.472 GB, free: 4.227 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001813/0.6133, allocations: 277.4 kB / 1.472 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.6133, allocations: 11.98 kB / 1.472 GB, free: 3.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/0.6284, allocations: 4.077 MB / 1.476 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6285, allocations: 4.031 kB / 1.476 GB, free: 15.57 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/0.6355, allocations: 0.9626 MB / 1.477 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.6356, allocations: 108.8 kB / 1.477 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.6357, allocations: 8 kB / 1.477 GB, free: 14.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.6365, allocations: 51.88 kB / 1.477 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.6365, allocations: 23.91 kB / 1.477 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.6366, allocations: 19.97 kB / 1.477 GB, free: 14.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002647/0.6369, allocations: 227.1 kB / 1.478 GB, free: 14.14 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6369, allocations: 3.938 kB / 1.478 GB, free: 14.14 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005936/0.6374, allocations: 111.9 kB / 1.478 GB, free: 14.03 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007551/0.645, allocations: 1.521 MB / 1.479 GB, free: 12.47 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.6479, allocations: 0.7079 MB / 1.48 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6479, allocations: 0 / 1.48 GB, free: 11.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.6496, allocations: 493.2 kB / 1.48 GB, free: 11.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.6503, allocations: 105.3 kB / 1.48 GB, free: 11.13 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.6708, allocations: 4.387 MB / 1.485 GB, free: 6.645 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.6715, allocations: 0.7645 MB / 1.486 GB, free: 5.852 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004376/0.6719, allocations: 86.84 kB / 1.486 GB, free: 5.762 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.6722, allocations: 99.39 kB / 1.486 GB, free: 5.664 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/0.6722, allocations: 3.938 kB / 1.486 GB, free: 5.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.7249, allocations: 16.7 MB / 1.502 GB, free: 5.129 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.46, allocations: 14.66 kB / 1.502 GB, free: 5.117 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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: 20.25890688225627]