Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001233/0.001233, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001218/0.001218, allocations: 186 kB / 20.78 MB, free: 1.547 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.412/1.412, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.88 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9947, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003679/0.9984, allocations: 2.333 MB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2152/1.214, allocations: 152.5 MB / 1.423 GB, free: 4.891 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/1.214, allocations: 7.812 kB / 1.423 GB, free: 4.887 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003141/1.214, allocations: 45.84 kB / 1.423 GB, free: 4.844 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0006581/1.215, allocations: 103.2 kB / 1.423 GB, free: 4.758 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/1.216, allocations: 302.3 kB / 1.424 GB, free: 4.527 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007908/1.217, allocations: 432.2 kB / 1.424 GB, free: 4.273 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/1.217, allocations: 76.34 kB / 1.424 GB, free: 4.223 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/1.219, allocations: 290.2 kB / 1.424 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/1.219, allocations: 181.8 kB / 1.425 GB, free: 3.965 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/1.219, allocations: 29.75 kB / 1.425 GB, free: 3.965 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007356/1.22, allocations: 283.4 kB / 1.425 GB, free: 3.832 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/1.22, allocations: 82.56 kB / 1.425 GB, free: 3.762 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/1.221, allocations: 154.8 kB / 1.425 GB, free: 3.656 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/1.222, allocations: 0.494 MB / 1.426 GB, free: 3.324 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.222, allocations: 5.125 kB / 1.426 GB, free: 3.32 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.343e-06/1.222, allocations: 0 / 1.426 GB, free: 3.32 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.776e-05/1.222, allocations: 0 / 1.426 GB, free: 3.32 MB / 1.107 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.001925/1.224, allocations: 0.7186 MB / 1.426 GB, free: 2.715 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.224, allocations: 13.66 kB / 1.426 GB, free: 2.711 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002996/1.227, allocations: 257.6 kB / 1.427 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/1.227, allocations: 306.2 kB / 1.427 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/1.227, allocations: 19.16 kB / 1.427 GB, free: 2.297 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/1.227, allocations: 34.23 kB / 1.427 GB, free: 2.281 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.229, allocations: 435.6 kB / 1.427 GB, free: 2.016 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/1.229, allocations: 0 / 1.427 GB, free: 2.016 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/1.229, allocations: 9.594 kB / 1.427 GB, free: 2.008 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/1.229, allocations: 10.94 kB / 1.427 GB, free: 2.004 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/1.231, allocations: 0.5212 MB / 1.428 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/1.235, allocations: 1.139 MB / 1.429 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/1.237, allocations: 446.9 kB / 1.429 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.238, allocations: 212.1 kB / 1.43 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/1.239, allocations: 7.344 kB / 1.43 GB, free: 0.543 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/1.239, allocations: 36.72 kB / 1.43 GB, free: 0.5 MB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/1.239, allocations: 0 / 1.43 GB, free: 0.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.0166/1.255, allocations: 1.729 MB / 1.431 GB, free: 15.56 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.255, allocations: 58.77 kB / 1.431 GB, free: 15.49 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/1.256, allocations: 301.3 kB / 1.432 GB, free: 15.3 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.545e-05/1.256, allocations: 34.83 kB / 1.432 GB, free: 15.26 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/1.256, allocations: 175 kB / 1.432 GB, free: 15.1 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/1.256, allocations: 93.39 kB / 1.432 GB, free: 15.02 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/1.256, allocations: 74.67 kB / 1.432 GB, free: 14.96 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.257, allocations: 341.6 kB / 1.432 GB, free: 14.62 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/1.258, allocations: 206.1 kB / 1.432 GB, free: 14.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.259, allocations: 261.8 kB / 1.433 GB, free: 14.36 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/1.261, allocations: 432.1 kB / 1.433 GB, free: 14.13 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.261, allocations: 0 / 1.433 GB, free: 14.13 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007203/1.268, allocations: 0.8938 MB / 1.434 GB, free: 13.68 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/1.268, allocations: 6.094 kB / 1.434 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.268, allocations: 1.531 kB / 1.434 GB, free: 13.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/1.27, allocations: 279.3 kB / 1.434 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/1.271, allocations: 65.97 kB / 1.434 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/1.286, allocations: 4.106 MB / 1.438 GB, free: 9.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.287, allocations: 75.72 kB / 1.438 GB, free: 9.656 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.287, allocations: 19.91 kB / 1.438 GB, free: 9.637 MB / 1.123 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.0003211/1.287, allocations: 149.8 kB / 1.439 GB, free: 9.48 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/1.288, allocations: 31.75 kB / 1.439 GB, free: 9.449 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007309/1.295, allocations: 0.9544 MB / 1.44 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.295, allocations: 4 kB / 1.44 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.295, allocations: 0 / 1.44 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.295, allocations: 0 / 1.44 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/1.296, allocations: 432.7 kB / 1.44 GB, free: 8.008 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.296, allocations: 0 / 1.44 GB, free: 8.008 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/1.296, allocations: 59.89 kB / 1.44 GB, free: 7.949 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.298, allocations: 277.4 kB / 1.44 GB, free: 7.672 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/1.298, allocations: 15.97 kB / 1.44 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/1.312, allocations: 4.077 MB / 1.444 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.312, allocations: 0 / 1.444 GB, free: 3.289 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/1.319, allocations: 0.965 MB / 1.445 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/1.319, allocations: 104.9 kB / 1.445 GB, free: 2.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/1.319, allocations: 11.95 kB / 1.445 GB, free: 2.168 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/1.32, allocations: 47.94 kB / 1.445 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.32, allocations: 15.98 kB / 1.445 GB, free: 2.105 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/1.32, allocations: 19.91 kB / 1.445 GB, free: 2.086 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002808/1.32, allocations: 227.1 kB / 1.446 GB, free: 1.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.32, allocations: 0 / 1.446 GB, free: 1.867 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006659/1.321, allocations: 115.9 kB / 1.446 GB, free: 1.754 MB / 1.123 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.0002623/1.321, allocations: 131.1 kB / 1.446 GB, free: 1.617 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002848/1.324, allocations: 0.708 MB / 1.447 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.324, allocations: 128 / 1.447 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.326, allocations: 0.497 MB / 1.447 GB, free: 368 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007236/1.327, allocations: 105.2 kB / 1.447 GB, free: 264 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/1.329, allocations: 0.695 MB / 1.448 GB, free: 15.54 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/1.33, allocations: 0.7645 MB / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000417/1.33, allocations: 78.88 kB / 1.449 GB, free: 14.66 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/1.33, allocations: 35.41 kB / 1.449 GB, free: 14.63 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/1.33, allocations: 0 / 1.449 GB, free: 14.63 MB / 1.139 GB Notification: Performance of Templates: time 0.02494/1.355, allocations: 13.87 MB / 1.462 GB, free: 0.8242 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.618138471618295]