Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.002029/0.002029, allocations: 113.8 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.001875/0.001875, 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.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.878/2.878, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005748/1.068, allocations: 4.886 MB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1932/1.261, allocations: 151.2 MB / 1.458 GB, free: 108 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/1.262, allocations: 24.09 kB / 1.458 GB, free: 96 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008675/1.263, allocations: 187.9 kB / 1.458 GB, free: 15.97 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002205/1.265, allocations: 0.5425 MB / 1.458 GB, free: 15.64 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002409/1.268, allocations: 0.8618 MB / 1.459 GB, free: 15.16 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002178/1.27, allocations: 1.386 MB / 1.461 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009324/1.271, allocations: 417.8 kB / 1.461 GB, free: 14.19 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/1.272, allocations: 487.7 kB / 1.462 GB, free: 13.95 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009694/1.273, allocations: 0.5054 MB / 1.462 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/1.273, allocations: 117.4 kB / 1.462 GB, free: 13.68 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/1.274, allocations: 491.5 kB / 1.463 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/1.275, allocations: 292.3 kB / 1.463 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009756/1.276, allocations: 0.5564 MB / 1.463 GB, free: 13 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/1.279, allocations: 1.654 MB / 1.465 GB, free: 12.3 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.279, allocations: 1.438 kB / 1.465 GB, free: 12.3 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.773e-06/1.279, allocations: 0.7969 kB / 1.465 GB, free: 12.3 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.129e-05/1.279, allocations: 0 / 1.465 GB, free: 12.3 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004258/1.283, allocations: 1.458 MB / 1.466 GB, free: 11.29 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.283, allocations: 9.031 kB / 1.466 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.285, allocations: 186.4 kB / 1.467 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/1.286, allocations: 0.7678 MB / 1.467 GB, free: 10.73 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.287, allocations: 69.11 kB / 1.467 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/1.287, allocations: 82.14 kB / 1.468 GB, free: 10.67 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.289, allocations: 0.9174 MB / 1.468 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.289, allocations: 0 / 1.468 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/1.289, allocations: 37.19 kB / 1.469 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/1.289, allocations: 21.89 kB / 1.469 GB, free: 10.21 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/1.291, allocations: 1.11 MB / 1.47 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/1.296, allocations: 2.751 MB / 1.472 GB, free: 7.457 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.297, allocations: 0.8541 MB / 1.473 GB, free: 6.953 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/1.298, allocations: 276.1 kB / 1.473 GB, free: 6.809 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.168e-05/1.298, allocations: 31.55 kB / 1.473 GB, free: 6.793 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/1.299, allocations: 0.4927 MB / 1.474 GB, free: 6.469 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.214e-06/1.299, allocations: 0 / 1.474 GB, free: 6.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003319/1.302, allocations: 1.194 MB / 1.475 GB, free: 5.82 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.302, allocations: 193.8 kB / 1.475 GB, free: 5.598 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009518/1.303, allocations: 0.6215 MB / 1.476 GB, free: 5.234 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/1.303, allocations: 42.89 kB / 1.476 GB, free: 5.191 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.304, allocations: 400.1 kB / 1.476 GB, free: 4.84 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/1.304, allocations: 270.6 kB / 1.477 GB, free: 4.605 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.304, allocations: 165.6 kB / 1.477 GB, free: 4.504 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.305, allocations: 388.6 kB / 1.477 GB, free: 4.133 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/1.305, allocations: 267.2 kB / 1.477 GB, free: 4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/1.306, allocations: 363.9 kB / 1.478 GB, free: 3.793 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.307, allocations: 0.6057 MB / 1.478 GB, free: 3.465 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.307, allocations: 1.094 kB / 1.478 GB, free: 3.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002149/1.309, allocations: 0.8496 MB / 1.479 GB, free: 3.027 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/1.309, allocations: 12.25 kB / 1.479 GB, free: 3.023 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.309, allocations: 1.656 kB / 1.479 GB, free: 3.023 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/1.31, allocations: 79.97 kB / 1.479 GB, free: 2.984 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.31, allocations: 161.6 kB / 1.479 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/1.313, allocations: 1.649 MB / 1.481 GB, free: 1.324 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/1.314, allocations: 94.14 kB / 1.481 GB, free: 1.266 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/1.314, allocations: 38.12 kB / 1.481 GB, free: 1.25 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005048/1.314, allocations: 270.8 kB / 1.481 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/1.314, allocations: 90.59 kB / 1.481 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/1.317, allocations: 1.055 MB / 1.482 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.317, allocations: 9.719 kB / 1.482 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.317, allocations: 3.938 kB / 1.482 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.317, allocations: 4.984 kB / 1.482 GB, free: 392 kB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/1.321, allocations: 1.954 MB / 1.484 GB, free: 15.08 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.321, allocations: 0 / 1.484 GB, free: 15.08 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/1.322, allocations: 145 kB / 1.485 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005155/1.322, allocations: 74.27 kB / 1.485 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/1.323, allocations: 28.16 kB / 1.485 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/1.325, allocations: 1.677 MB / 1.486 GB, free: 13.35 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.325, allocations: 3.984 kB / 1.486 GB, free: 13.35 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/1.327, allocations: 0.9942 MB / 1.487 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/1.328, allocations: 282.7 kB / 1.487 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.328, allocations: 18.16 kB / 1.488 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007025/1.329, allocations: 62.28 kB / 1.488 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.329, allocations: 69.95 kB / 1.488 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/1.329, allocations: 33.86 kB / 1.488 GB, free: 12.45 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008134/1.33, allocations: 454.6 kB / 1.488 GB, free: 12.18 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.33, allocations: 0 / 1.488 GB, free: 12.18 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001067/1.331, allocations: 324.2 kB / 1.488 GB, free: 12.09 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002125/1.333, allocations: 0.6095 MB / 1.489 GB, free: 11.79 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.335, allocations: 0.7999 MB / 1.49 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.335, allocations: 0 / 1.49 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/1.336, allocations: 0.4925 MB / 1.49 GB, free: 10.47 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.338, allocations: 299 kB / 1.491 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/1.341, allocations: 1.65 MB / 1.492 GB, free: 8.516 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/1.342, allocations: 1.023 MB / 1.493 GB, free: 7.461 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009903/1.343, allocations: 254.6 kB / 1.493 GB, free: 7.207 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/1.343, allocations: 111.4 kB / 1.494 GB, free: 7.098 MB / 1.17 GB Notification: Performance of SimCode: time 9.92e-07/1.343, allocations: 0 / 1.494 GB, free: 7.098 MB / 1.17 GB Notification: Performance of Templates: time 0.03148/1.375, allocations: 15.64 MB / 1.509 GB, free: 7.621 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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: 10.214196116663516]