Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001279/0.001279, allocations: 113 kB / 17.6 MB, free: 4.684 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.001335/0.001335, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.391/1.391, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.547/2.547, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.91 kB / 1.059 GB, free: 416 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003958/0.304, allocations: 2.331 MB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7633/1.067, allocations: 152.5 MB / 1.367 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/1.068, allocations: 8.906 kB / 1.367 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002338/1.068, allocations: 42.28 kB / 1.367 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/1.068, allocations: 98 kB / 1.367 GB, free: 3.242 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/1.069, allocations: 302.8 kB / 1.368 GB, free: 3.094 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005621/1.07, allocations: 432.2 kB / 1.368 GB, free: 2.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/1.07, allocations: 73.98 kB / 1.368 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/1.072, allocations: 281.9 kB / 1.369 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/1.072, allocations: 188.3 kB / 1.369 GB, free: 2.688 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.254e-05/1.072, allocations: 30.59 kB / 1.369 GB, free: 2.688 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/1.072, allocations: 284.7 kB / 1.369 GB, free: 2.609 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/1.073, allocations: 78.83 kB / 1.369 GB, free: 2.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/1.073, allocations: 161.5 kB / 1.369 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007712/1.074, allocations: 0.4908 MB / 1.37 GB, free: 2.273 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.074, allocations: 1.344 kB / 1.37 GB, free: 2.273 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.173e-06/1.074, allocations: 0 / 1.37 GB, free: 2.273 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.074, allocations: 0 / 1.37 GB, free: 2.273 MB / 1.045 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.001579/1.075, allocations: 0.7168 MB / 1.37 GB, free: 1.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.075, allocations: 12.84 kB / 1.37 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/1.078, allocations: 260.6 kB / 1.371 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/1.078, allocations: 304 kB / 1.371 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.078, allocations: 19.97 kB / 1.371 GB, free: 1.418 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/1.078, allocations: 26.38 kB / 1.371 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/1.08, allocations: 431.6 kB / 1.371 GB, free: 1.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.08, allocations: 5.109 kB / 1.371 GB, free: 1.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/1.08, allocations: 10.28 kB / 1.371 GB, free: 1.258 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/1.08, allocations: 10.38 kB / 1.371 GB, free: 1.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/1.082, allocations: 0.5232 MB / 1.372 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/1.085, allocations: 1.139 MB / 1.373 GB, free: 0.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/1.087, allocations: 450.4 kB / 1.373 GB, free: 364 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009891/1.088, allocations: 219.6 kB / 1.374 GB, free: 296 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/1.088, allocations: 3.281 kB / 1.374 GB, free: 296 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.088, allocations: 36.75 kB / 1.374 GB, free: 252 kB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/1.088, allocations: 0 / 1.374 GB, free: 252 kB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.01535/1.104, allocations: 1.731 MB / 1.375 GB, free: 15.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.104, allocations: 57.5 kB / 1.375 GB, free: 15.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/1.104, allocations: 310.4 kB / 1.376 GB, free: 15.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/1.104, allocations: 31.14 kB / 1.376 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/1.104, allocations: 175.1 kB / 1.376 GB, free: 15.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.47e-05/1.104, allocations: 88.34 kB / 1.376 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.105, allocations: 75.55 kB / 1.376 GB, free: 15.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.105, allocations: 339.5 kB / 1.376 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/1.106, allocations: 209.2 kB / 1.377 GB, free: 14.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.107, allocations: 263.8 kB / 1.377 GB, free: 14.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/1.109, allocations: 431.1 kB / 1.377 GB, free: 14.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.109, allocations: 0 / 1.377 GB, free: 14.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006849/1.116, allocations: 0.9014 MB / 1.378 GB, free: 14.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.116, allocations: 6.062 kB / 1.378 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.116, allocations: 0 / 1.378 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/1.117, allocations: 280.3 kB / 1.378 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/1.118, allocations: 65.62 kB / 1.379 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.132, allocations: 4.1 MB / 1.383 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009183/1.133, allocations: 75.81 kB / 1.383 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/1.133, allocations: 21.09 kB / 1.383 GB, free: 10.36 MB / 1.061 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.0002245/1.133, allocations: 141.7 kB / 1.383 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/1.133, allocations: 31.03 kB / 1.383 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007094/1.141, allocations: 0.9482 MB / 1.384 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.141, allocations: 3.219 kB / 1.384 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/1.141, allocations: 3.938 kB / 1.384 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.141, allocations: 1.094 kB / 1.384 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/1.141, allocations: 419.4 kB / 1.384 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.141, allocations: 4.75 kB / 1.384 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/1.142, allocations: 52.86 kB / 1.384 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/1.143, allocations: 283.1 kB / 1.384 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/1.143, allocations: 15.78 kB / 1.384 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/1.158, allocations: 4.073 MB / 1.388 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.158, allocations: 0 / 1.388 GB, free: 5.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/1.165, allocations: 0.9692 MB / 1.389 GB, free: 5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/1.165, allocations: 109.6 kB / 1.389 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.165, allocations: 1.469 kB / 1.389 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/1.166, allocations: 45.8 kB / 1.39 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.166, allocations: 19.69 kB / 1.39 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/1.166, allocations: 23.38 kB / 1.39 GB, free: 4.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003087/1.166, allocations: 226.3 kB / 1.39 GB, free: 4.688 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 1.39 GB, free: 4.688 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007047/1.167, allocations: 114.4 kB / 1.39 GB, free: 4.672 MB / 1.061 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.0002799/1.167, allocations: 124.2 kB / 1.39 GB, free: 4.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.17, allocations: 0.7138 MB / 1.391 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.17, allocations: 128 / 1.391 GB, free: 4.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.172, allocations: 0.4885 MB / 1.391 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/1.172, allocations: 116.5 kB / 1.391 GB, free: 3.66 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/1.175, allocations: 0.6878 MB / 1.392 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/1.175, allocations: 0.7687 MB / 1.393 GB, free: 2.492 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004101/1.176, allocations: 82.48 kB / 1.393 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/1.176, allocations: 40.53 kB / 1.393 GB, free: 2.422 MB / 1.061 GB Notification: Performance of SimCode: time 1.011e-06/1.176, allocations: 0 / 1.393 GB, free: 2.422 MB / 1.061 GB Notification: Performance of Templates: time 0.02163/1.197, allocations: 13.88 MB / 1.406 GB, free: 11.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.909341828897595]