Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.001382/0.001382, allocations: 109 kB / 17.54 MB, free: 4.766 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.001399/0.001399, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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.484/2.484, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7533, allocations: 168.7 MB / 1.271 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005401/0.7587, allocations: 4.971 MB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.9309, allocations: 151.2 MB / 1.424 GB, free: 3.738 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.9318, allocations: 15.44 kB / 1.424 GB, free: 3.734 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.9326, allocations: 202.1 kB / 1.424 GB, free: 3.555 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/0.9346, allocations: 0.5622 MB / 1.425 GB, free: 3.133 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.9366, allocations: 0.869 MB / 1.425 GB, free: 2.469 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.938, allocations: 1.43 MB / 1.427 GB, free: 1.578 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.9386, allocations: 420.9 kB / 1.427 GB, free: 1.27 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.9392, allocations: 0.4963 MB / 1.428 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.9398, allocations: 0.531 MB / 1.428 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.9399, allocations: 117.6 kB / 1.428 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008302/0.9408, allocations: 486 kB / 1.429 GB, free: 424 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.9411, allocations: 307.9 kB / 1.429 GB, free: 176 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.9416, allocations: 0.5708 MB / 1.43 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.9433, allocations: 1.673 MB / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9433, allocations: 3.938 kB / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9433, allocations: 0 / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9433, allocations: 1.156 kB / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002423/0.9458, allocations: 1.5 MB / 1.433 GB, free: 13.35 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.9458, allocations: 13.12 kB / 1.433 GB, free: 13.34 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.946, allocations: 134.4 kB / 1.433 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008296/0.9468, allocations: 195.9 kB / 1.433 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.9479, allocations: 0.7888 MB / 1.434 GB, free: 12.49 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.9479, allocations: 69.91 kB / 1.434 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.948, allocations: 78.88 kB / 1.434 GB, free: 12.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.9495, allocations: 0.9456 MB / 1.435 GB, free: 11.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.9495, allocations: 0 / 1.435 GB, free: 11.82 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.9496, allocations: 37.62 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.9496, allocations: 20.62 kB / 1.435 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.9513, allocations: 1.123 MB / 1.436 GB, free: 11.25 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.955, allocations: 2.733 MB / 1.439 GB, free: 9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.9565, allocations: 0.8602 MB / 1.44 GB, free: 8.113 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.957, allocations: 290.6 kB / 1.44 GB, free: 7.824 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.05e-05/0.9571, allocations: 28.67 kB / 1.44 GB, free: 7.797 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008316/0.9579, allocations: 0.512 MB / 1.44 GB, free: 7.27 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 1.763e-06/0.9579, allocations: 4 kB / 1.44 GB, free: 7.266 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.003078/0.961, allocations: 1.265 MB / 1.442 GB, free: 5.98 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9611, allocations: 192.9 kB / 1.442 GB, free: 5.746 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.9619, allocations: 0.641 MB / 1.442 GB, free: 5.098 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.9619, allocations: 41.7 kB / 1.443 GB, free: 5.051 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9622, allocations: 409.1 kB / 1.443 GB, free: 4.645 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.9625, allocations: 285.6 kB / 1.443 GB, free: 4.363 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.9627, allocations: 150.6 kB / 1.443 GB, free: 4.211 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9629, allocations: 390.8 kB / 1.444 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.9634, allocations: 257.9 kB / 1.444 GB, free: 3.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.964, allocations: 366.5 kB / 1.444 GB, free: 3.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9651, allocations: 0.6124 MB / 1.445 GB, free: 2.559 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9651, allocations: 0 / 1.445 GB, free: 2.559 MB / 1.123 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001811/0.9669, allocations: 0.8297 MB / 1.446 GB, free: 1.719 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9669, allocations: 11.94 kB / 1.446 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9669, allocations: 0 / 1.446 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.9675, allocations: 80.88 kB / 1.446 GB, free: 1.625 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.9681, allocations: 163.7 kB / 1.446 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.9701, allocations: 1.623 MB / 1.448 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.9707, allocations: 99.58 kB / 1.448 GB, free: 15.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.9708, allocations: 35.97 kB / 1.448 GB, free: 15.56 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003463/0.9711, allocations: 270.3 kB / 1.448 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.9713, allocations: 87.44 kB / 1.448 GB, free: 15.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.9736, allocations: 1.14 MB / 1.449 GB, free: 14.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.9737, allocations: 8 kB / 1.449 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.9737, allocations: 0 / 1.449 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9737, allocations: 3.984 kB / 1.449 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003155/0.9768, allocations: 2.013 MB / 1.451 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.9768, allocations: 0 / 1.451 GB, free: 11.96 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.9774, allocations: 155.7 kB / 1.451 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004054/0.9778, allocations: 76.78 kB / 1.451 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.9779, allocations: 27.97 kB / 1.451 GB, free: 11.7 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.9798, allocations: 1.666 MB / 1.453 GB, free: 9.891 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9798, allocations: 3.984 kB / 1.453 GB, free: 9.887 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.9818, allocations: 1.053 MB / 1.454 GB, free: 8.816 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.9821, allocations: 288.1 kB / 1.454 GB, free: 8.516 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.9822, allocations: 23.98 kB / 1.454 GB, free: 8.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006553/0.9828, allocations: 66.61 kB / 1.454 GB, free: 8.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.983, allocations: 76.89 kB / 1.454 GB, free: 8.355 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.078e-05/0.9831, allocations: 39.97 kB / 1.454 GB, free: 8.316 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005447/0.9836, allocations: 467 kB / 1.455 GB, free: 7.867 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.9836, allocations: 0 / 1.455 GB, free: 7.867 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008445/0.9844, allocations: 327.2 kB / 1.455 GB, free: 7.547 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003938/0.9884, allocations: 2.109 MB / 1.457 GB, free: 5.594 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.9899, allocations: 0.8079 MB / 1.458 GB, free: 4.773 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9899, allocations: 7.984 kB / 1.458 GB, free: 4.766 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.9908, allocations: 0.5002 MB / 1.459 GB, free: 4.25 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.992, allocations: 311.3 kB / 1.459 GB, free: 3.969 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/1.002, allocations: 6.416 MB / 1.465 GB, free: 13.4 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/1.002, allocations: 1.036 MB / 1.466 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006927/1.003, allocations: 262.9 kB / 1.466 GB, free: 12.07 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005545/1.004, allocations: 403.3 kB / 1.467 GB, free: 11.68 MB / 1.154 GB Notification: Performance of SimCode: time 4.81e-07/1.004, allocations: 0 / 1.467 GB, free: 11.68 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/1.061, allocations: 22.39 MB / 1.489 GB, free: 5.516 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.85, allocations: 7.359 kB / 1.489 GB, free: 5.512 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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: 18.31246951400044]