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.001586/0.001586, allocations: 104.8 kB / 16.39 MB, free: 6.375 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.0018/0.0018, allocations: 192.7 kB / 19.35 MB, free: 3.84 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.413/1.413, allocations: 222.9 MB / 245.1 MB, free: 15.03 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 2.86/2.86, allocations: 489 MB / 0.7678 GB, free: 20 kB / 0.6231 GB " [Timeout remaining time 177] 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.001846/0.001846, allocations: 67.89 kB / 1.101 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8246, allocations: 163.8 MB / 1.261 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003901/0.8286, allocations: 2.306 MB / 1.263 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1845/1.013, allocations: 152 MB / 1.412 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/1.013, allocations: 7.938 kB / 1.412 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/1.014, allocations: 47.47 kB / 1.412 GB, free: 12.23 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/1.014, allocations: 95.2 kB / 1.412 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/1.015, allocations: 311 kB / 1.412 GB, free: 11.83 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/1.015, allocations: 427.8 kB / 1.413 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/1.016, allocations: 99.7 kB / 1.413 GB, free: 11.31 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/1.017, allocations: 275.2 kB / 1.413 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/1.017, allocations: 195.2 kB / 1.413 GB, free: 10.88 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/1.017, allocations: 32 kB / 1.413 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006217/1.018, allocations: 275.6 kB / 1.413 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/1.018, allocations: 79.73 kB / 1.413 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001973/1.018, allocations: 167.1 kB / 1.414 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007503/1.019, allocations: 0.4904 MB / 1.414 GB, free: 9.84 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.019, allocations: 4 kB / 1.414 GB, free: 9.836 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.252e-06/1.019, allocations: 0 / 1.414 GB, free: 9.836 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.122e-05/1.019, allocations: 0 / 1.414 GB, free: 9.836 MB / 1.123 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.001539/1.021, allocations: 0.7127 MB / 1.415 GB, free: 9.074 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.021, allocations: 8.031 kB / 1.415 GB, free: 9.066 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.73e-05/1.021, allocations: 66.72 kB / 1.415 GB, free: 8.992 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002689/1.024, allocations: 263.5 kB / 1.415 GB, free: 8.734 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/1.024, allocations: 307.3 kB / 1.415 GB, free: 8.395 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/1.024, allocations: 20.56 kB / 1.415 GB, free: 8.375 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/1.024, allocations: 24 kB / 1.415 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.026, allocations: 432.5 kB / 1.416 GB, free: 7.926 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.026, allocations: 0 / 1.416 GB, free: 7.926 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/1.026, allocations: 11.94 kB / 1.416 GB, free: 7.914 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/1.026, allocations: 8 kB / 1.416 GB, free: 7.906 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/1.028, allocations: 0.529 MB / 1.416 GB, free: 7.375 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/1.031, allocations: 1.14 MB / 1.418 GB, free: 6.184 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/1.033, allocations: 451.7 kB / 1.418 GB, free: 5.734 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/1.034, allocations: 228.7 kB / 1.418 GB, free: 5.508 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/1.035, allocations: 4 kB / 1.418 GB, free: 5.504 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.035, allocations: 50.42 kB / 1.418 GB, free: 5.445 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.973e-06/1.035, allocations: 0 / 1.418 GB, free: 5.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01596/1.051, allocations: 1.723 MB / 1.42 GB, free: 3.672 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/1.051, allocations: 59.34 kB / 1.42 GB, free: 3.602 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/1.051, allocations: 300.6 kB / 1.42 GB, free: 3.297 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/1.051, allocations: 29.7 kB / 1.42 GB, free: 3.262 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.051, allocations: 176.4 kB / 1.42 GB, free: 3.086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.051, allocations: 99.14 kB / 1.421 GB, free: 2.988 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/1.052, allocations: 73.92 kB / 1.421 GB, free: 2.906 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.052, allocations: 346.7 kB / 1.421 GB, free: 2.559 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/1.053, allocations: 196.4 kB / 1.421 GB, free: 2.367 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/1.054, allocations: 259 kB / 1.421 GB, free: 2.094 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/1.056, allocations: 439.3 kB / 1.422 GB, free: 1.656 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.056, allocations: 0 / 1.422 GB, free: 1.656 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006979/1.063, allocations: 0.8934 MB / 1.423 GB, free: 0.75 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.063, allocations: 11.98 kB / 1.423 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.063, allocations: 0 / 1.423 GB, free: 0.7383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/1.065, allocations: 277.4 kB / 1.423 GB, free: 472 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/1.066, allocations: 71.88 kB / 1.423 GB, free: 400 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.081, allocations: 4.099 MB / 1.427 GB, free: 12.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/1.082, allocations: 75.69 kB / 1.427 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/1.082, allocations: 15.97 kB / 1.427 GB, free: 11.92 MB / 1.139 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.0002321/1.082, allocations: 137.8 kB / 1.427 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/1.082, allocations: 35.81 kB / 1.427 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007186/1.089, allocations: 0.9457 MB / 1.428 GB, free: 10.79 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.089, allocations: 4 kB / 1.428 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.089, allocations: 3.984 kB / 1.428 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.089, allocations: 0 / 1.428 GB, free: 10.78 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/1.09, allocations: 424.7 kB / 1.429 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.09, allocations: 0 / 1.429 GB, free: 10.31 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000409/1.09, allocations: 59.89 kB / 1.429 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.092, allocations: 281.3 kB / 1.429 GB, free: 9.973 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.078e-05/1.092, allocations: 15.97 kB / 1.429 GB, free: 9.957 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/1.107, allocations: 4.084 MB / 1.433 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.107, allocations: 0 / 1.433 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007082/1.114, allocations: 0.9611 MB / 1.434 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.114, allocations: 108.8 kB / 1.434 GB, free: 4.477 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/1.114, allocations: 7.938 kB / 1.434 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/1.115, allocations: 47.95 kB / 1.434 GB, free: 4.422 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.115, allocations: 27.84 kB / 1.434 GB, free: 4.395 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.115, allocations: 15.97 kB / 1.434 GB, free: 4.379 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000261/1.115, allocations: 223.1 kB / 1.434 GB, free: 4.164 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.115, allocations: 0 / 1.434 GB, free: 4.164 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0006061/1.116, allocations: 111.9 kB / 1.434 GB, free: 4.055 MB / 1.139 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.007483/1.124, allocations: 1.526 MB / 1.436 GB, free: 2.496 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002909/1.126, allocations: 0.7234 MB / 1.437 GB, free: 1.746 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.126, allocations: 4.125 kB / 1.437 GB, free: 1.742 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/1.128, allocations: 0.5009 MB / 1.437 GB, free: 1.215 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/1.129, allocations: 109.2 kB / 1.437 GB, free: 1.109 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.148, allocations: 4.392 MB / 1.441 GB, free: 12.62 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.149, allocations: 0.7684 MB / 1.442 GB, free: 11.82 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000437/1.149, allocations: 82.86 kB / 1.442 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.149, allocations: 95.39 kB / 1.442 GB, free: 11.64 MB / 1.154 GB Notification: Performance of SimCode: time 8.51e-07/1.149, allocations: 0 / 1.442 GB, free: 11.64 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/1.2, allocations: 16.67 MB / 1.459 GB, free: 11.16 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.77, allocations: 2.781 kB / 1.459 GB, free: 11.16 MB / 1.17 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: 19.82353157782927]