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.001665/0.001665, allocations: 114.9 kB / 17.08 MB, free: 5.988 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.001896/0.001897, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.789/2.789, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 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.002044/0.002044, allocations: 64.14 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3206, allocations: 151.6 MB / 1.176 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004177/0.3248, allocations: 2.311 MB / 1.178 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7855/1.11, allocations: 152 MB / 1.327 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/1.111, allocations: 7.75 kB / 1.327 GB, free: 11.74 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/1.111, allocations: 46.41 kB / 1.327 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/1.111, allocations: 97.02 kB / 1.327 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/1.112, allocations: 306.1 kB / 1.327 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/1.113, allocations: 428.2 kB / 1.327 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/1.113, allocations: 106.6 kB / 1.327 GB, free: 11.47 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/1.114, allocations: 275.1 kB / 1.328 GB, free: 11.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/1.115, allocations: 185.1 kB / 1.328 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/1.115, allocations: 30.91 kB / 1.328 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006206/1.115, allocations: 295 kB / 1.328 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/1.115, allocations: 73.33 kB / 1.328 GB, free: 11.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/1.116, allocations: 165.1 kB / 1.328 GB, free: 11.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007566/1.116, allocations: 500 kB / 1.329 GB, free: 11.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.116, allocations: 0 / 1.329 GB, free: 11.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.834e-06/1.116, allocations: 0 / 1.329 GB, free: 11.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.116, allocations: 1.219 kB / 1.329 GB, free: 11.2 MB / 1.014 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.001546/1.118, allocations: 0.7159 MB / 1.33 GB, free: 10.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.118, allocations: 9.375 kB / 1.33 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/1.121, allocations: 261.2 kB / 1.33 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/1.121, allocations: 306.7 kB / 1.33 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/1.121, allocations: 23.61 kB / 1.33 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/1.121, allocations: 25.72 kB / 1.33 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.123, allocations: 428.5 kB / 1.331 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/1.123, allocations: 0 / 1.331 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/1.123, allocations: 13.14 kB / 1.331 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/1.123, allocations: 13.98 kB / 1.331 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/1.125, allocations: 0.5218 MB / 1.331 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/1.128, allocations: 1.137 MB / 1.332 GB, free: 9.715 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.131, allocations: 461.8 kB / 1.333 GB, free: 9.566 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/1.132, allocations: 228.6 kB / 1.333 GB, free: 9.496 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.6e-05/1.132, allocations: 7.547 kB / 1.333 GB, free: 9.492 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.132, allocations: 32.64 kB / 1.333 GB, free: 9.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/1.132, allocations: 1.469 kB / 1.333 GB, free: 9.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.01608/1.148, allocations: 1.733 MB / 1.335 GB, free: 8.926 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.148, allocations: 53.97 kB / 1.335 GB, free: 8.863 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/1.149, allocations: 309.9 kB / 1.335 GB, free: 8.695 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/1.149, allocations: 30.73 kB / 1.335 GB, free: 8.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/1.149, allocations: 176.5 kB / 1.335 GB, free: 8.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.149, allocations: 96.88 kB / 1.335 GB, free: 8.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.149, allocations: 73.61 kB / 1.335 GB, free: 8.395 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.149, allocations: 339.8 kB / 1.336 GB, free: 8.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.15, allocations: 203.2 kB / 1.336 GB, free: 8.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.151, allocations: 261.2 kB / 1.336 GB, free: 7.895 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002111/1.154, allocations: 435 kB / 1.337 GB, free: 7.734 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.154, allocations: 0.8125 kB / 1.337 GB, free: 7.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006883/1.16, allocations: 0.8947 MB / 1.337 GB, free: 7.488 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/1.161, allocations: 5.25 kB / 1.337 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.161, allocations: 1.406 kB / 1.337 GB, free: 7.488 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/1.162, allocations: 281.5 kB / 1.338 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/1.163, allocations: 63.03 kB / 1.338 GB, free: 7.422 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/1.178, allocations: 4.102 MB / 1.342 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/1.179, allocations: 73.95 kB / 1.342 GB, free: 4.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/1.179, allocations: 22.69 kB / 1.342 GB, free: 4.305 MB / 1.014 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.0002789/1.179, allocations: 138.2 kB / 1.342 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/1.179, allocations: 39.89 kB / 1.342 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007131/1.186, allocations: 0.9539 MB / 1.343 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.186, allocations: 3.688 kB / 1.343 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.186, allocations: 4 kB / 1.343 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/1.186, allocations: 1.188 kB / 1.343 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/1.187, allocations: 422.8 kB / 1.343 GB, free: 3.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.187, allocations: 3.938 kB / 1.343 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/1.187, allocations: 51.25 kB / 1.343 GB, free: 3.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/1.189, allocations: 278.6 kB / 1.344 GB, free: 3.504 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/1.189, allocations: 17.5 kB / 1.344 GB, free: 3.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/1.204, allocations: 4.079 MB / 1.348 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.204, allocations: 0 / 1.348 GB, free: 440 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007043/1.211, allocations: 0.9624 MB / 1.349 GB, free: 88 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.211, allocations: 111.3 kB / 1.349 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/1.211, allocations: 14.34 kB / 1.349 GB, free: 15.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/1.212, allocations: 42.34 kB / 1.349 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.846e-05/1.212, allocations: 19.36 kB / 1.349 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/1.212, allocations: 17.17 kB / 1.349 GB, free: 15.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002747/1.212, allocations: 227.6 kB / 1.349 GB, free: 15.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.212, allocations: 0 / 1.349 GB, free: 15.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006214/1.213, allocations: 117 kB / 1.349 GB, free: 15.8 MB / 1.029 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.0002394/1.213, allocations: 118 kB / 1.349 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.216, allocations: 0.7309 MB / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.216, allocations: 0 / 1.35 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.218, allocations: 0.498 MB / 1.35 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/1.218, allocations: 120.4 kB / 1.351 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.221, allocations: 0.71 MB / 1.351 GB, free: 14.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/1.221, allocations: 0.7725 MB / 1.352 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.222, allocations: 36.23 kB / 1.352 GB, free: 13.92 MB / 1.029 GB Notification: Performance of SimCode: time 2.766e-06/1.222, allocations: 1.25 kB / 1.352 GB, free: 13.92 MB / 1.029 GB Notification: Performance of Templates: time 0.01274/1.234, allocations: 8.321 MB / 1.36 GB, free: 10.46 MB / 1.029 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: 12.339603831991553]