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.001753/0.001753, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.002151/0.002151, allocations: 197.2 kB / 20.08 MB, free: 3 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.676/1.676, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.715/2.715, allocations: 443.5 MB / 0.7293 GB, free: 14.49 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.002231/0.002231, allocations: 67.89 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003884/0.346, allocations: 2.323 MB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.913/1.259, allocations: 152.5 MB / 1.365 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/1.259, allocations: 7.781 kB / 1.365 GB, free: 4.723 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/1.26, allocations: 48.03 kB / 1.365 GB, free: 4.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/1.26, allocations: 95.98 kB / 1.365 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000986/1.261, allocations: 304.6 kB / 1.366 GB, free: 4.469 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/1.262, allocations: 425.3 kB / 1.366 GB, free: 4.273 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/1.262, allocations: 73.66 kB / 1.366 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/1.263, allocations: 294.3 kB / 1.366 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/1.264, allocations: 183.4 kB / 1.367 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/1.264, allocations: 30.31 kB / 1.367 GB, free: 4.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/1.264, allocations: 285.9 kB / 1.367 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/1.265, allocations: 78.56 kB / 1.367 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/1.265, allocations: 164 kB / 1.367 GB, free: 3.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007534/1.265, allocations: 0.492 MB / 1.368 GB, free: 3.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.265, allocations: 0 / 1.368 GB, free: 3.652 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/1.265, allocations: 1.125 kB / 1.368 GB, free: 3.652 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.332e-05/1.265, allocations: 4 kB / 1.368 GB, free: 3.648 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.001598/1.267, allocations: 0.7137 MB / 1.368 GB, free: 3.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.267, allocations: 8.781 kB / 1.368 GB, free: 3.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002701/1.27, allocations: 258.2 kB / 1.369 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/1.27, allocations: 312.4 kB / 1.369 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.27, allocations: 20.09 kB / 1.369 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/1.27, allocations: 26.25 kB / 1.369 GB, free: 2.785 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/1.272, allocations: 429.9 kB / 1.369 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.272, allocations: 1.406 kB / 1.369 GB, free: 2.645 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/1.272, allocations: 13.61 kB / 1.369 GB, free: 2.633 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/1.272, allocations: 10.59 kB / 1.369 GB, free: 2.629 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/1.274, allocations: 0.5307 MB / 1.37 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/1.278, allocations: 1.134 MB / 1.371 GB, free: 1.875 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/1.28, allocations: 449.9 kB / 1.371 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.281, allocations: 219.5 kB / 1.372 GB, free: 1.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.209e-05/1.281, allocations: 7.281 kB / 1.372 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.281, allocations: 31.66 kB / 1.372 GB, free: 1.617 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/1.281, allocations: 0 / 1.372 GB, free: 1.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.01548/1.296, allocations: 1.727 MB / 1.373 GB, free: 1.098 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.296, allocations: 53.62 kB / 1.373 GB, free: 1.035 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/1.297, allocations: 313.6 kB / 1.374 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/1.297, allocations: 28.11 kB / 1.374 GB, free: 0.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.297, allocations: 174.8 kB / 1.374 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.297, allocations: 94.86 kB / 1.374 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.297, allocations: 69.14 kB / 1.374 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001732/1.298, allocations: 340.3 kB / 1.374 GB, free: 256 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/1.299, allocations: 205.9 kB / 1.374 GB, free: 196 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.3, allocations: 261.3 kB / 1.375 GB, free: 72 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/1.302, allocations: 432.3 kB / 1.375 GB, free: 15.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.302, allocations: 1 kB / 1.375 GB, free: 15.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007008/1.309, allocations: 0.8936 MB / 1.376 GB, free: 15.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.309, allocations: 5.312 kB / 1.376 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.309, allocations: 7.938 kB / 1.376 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/1.311, allocations: 283.9 kB / 1.376 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.311, allocations: 65.94 kB / 1.376 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/1.327, allocations: 4.094 MB / 1.38 GB, free: 11.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/1.328, allocations: 75.89 kB / 1.38 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/1.328, allocations: 20.84 kB / 1.38 GB, free: 11.84 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.0002572/1.328, allocations: 146.3 kB / 1.381 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/1.328, allocations: 30.88 kB / 1.381 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007177/1.335, allocations: 0.9483 MB / 1.382 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/1.335, allocations: 2.531 kB / 1.382 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.335, allocations: 3.938 kB / 1.382 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.335, allocations: 1.375 kB / 1.382 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007783/1.336, allocations: 430.9 kB / 1.382 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/1.336, allocations: 3.938 kB / 1.382 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/1.336, allocations: 53.2 kB / 1.382 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.338, allocations: 279.6 kB / 1.382 GB, free: 10.6 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/1.338, allocations: 22.08 kB / 1.382 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/1.353, allocations: 4.072 MB / 1.386 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.353, allocations: 0 / 1.386 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007233/1.36, allocations: 0.9658 MB / 1.387 GB, free: 6.469 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/1.361, allocations: 109.7 kB / 1.387 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.361, allocations: 1.406 kB / 1.387 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/1.361, allocations: 49.19 kB / 1.387 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.362, allocations: 21.55 kB / 1.387 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/1.362, allocations: 18.56 kB / 1.387 GB, free: 6.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002865/1.362, allocations: 226.2 kB / 1.388 GB, free: 6.156 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.362, allocations: 0 / 1.388 GB, free: 6.156 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007213/1.363, allocations: 118.9 kB / 1.388 GB, free: 6.137 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.000259/1.363, allocations: 124.7 kB / 1.388 GB, free: 6.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.366, allocations: 0.7088 MB / 1.389 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.366, allocations: 0 / 1.389 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.368, allocations: 492.1 kB / 1.389 GB, free: 5.203 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/1.368, allocations: 117.1 kB / 1.389 GB, free: 5.137 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/1.371, allocations: 0.7231 MB / 1.39 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/1.372, allocations: 0.7643 MB / 1.391 GB, free: 3.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/1.372, allocations: 42.59 kB / 1.391 GB, free: 3.91 MB / 1.061 GB Notification: Performance of SimCode: time 1.904e-06/1.372, allocations: 0 / 1.391 GB, free: 3.91 MB / 1.061 GB Notification: Performance of Templates: time 0.015/1.387, allocations: 8.351 MB / 1.399 GB, free: 15.49 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.174611006164923]