Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 189.7 kB / 16.66 MB, free: 6.582 MB / 14.72 MB 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: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7453 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 159.9 MB / 1.226 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00622/0.3325, allocations: 4.919 MB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9199/1.252, allocations: 150.6 MB / 1.377 GB, free: 5.402 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/1.254, allocations: 19 kB / 1.377 GB, free: 5.395 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/1.255, allocations: 188 kB / 1.378 GB, free: 5.273 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002911/1.258, allocations: 0.5595 MB / 1.378 GB, free: 4.953 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002884/1.261, allocations: 0.8502 MB / 1.379 GB, free: 4.512 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002923/1.264, allocations: 1.422 MB / 1.38 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/1.265, allocations: 0.5923 MB / 1.381 GB, free: 3.469 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/1.267, allocations: 0.4988 MB / 1.381 GB, free: 3.219 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/1.268, allocations: 0.5217 MB / 1.382 GB, free: 2.945 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004563/1.268, allocations: 118.3 kB / 1.382 GB, free: 2.945 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/1.27, allocations: 487.1 kB / 1.383 GB, free: 2.828 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/1.27, allocations: 301.7 kB / 1.383 GB, free: 2.594 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.271, allocations: 0.5727 MB / 1.383 GB, free: 2.172 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/1.276, allocations: 1.669 MB / 1.385 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.276, allocations: 5.875 kB / 1.385 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.274e-06/1.276, allocations: 0 / 1.385 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001187/1.276, allocations: 3.75 kB / 1.385 GB, free: 0.9648 MB / 1.076 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.004716/1.281, allocations: 1.49 MB / 1.387 GB, free: 15.79 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.281, allocations: 9.969 kB / 1.387 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.282, allocations: 196.5 kB / 1.387 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/1.284, allocations: 0.779 MB / 1.387 GB, free: 15.05 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.449e-05/1.284, allocations: 68.42 kB / 1.388 GB, free: 15.02 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.284, allocations: 84.12 kB / 1.388 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/1.286, allocations: 0.946 MB / 1.389 GB, free: 14.38 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.286, allocations: 3.938 kB / 1.389 GB, free: 14.38 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/1.286, allocations: 37.62 kB / 1.389 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/1.286, allocations: 20.34 kB / 1.389 GB, free: 14.35 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/1.288, allocations: 1.127 MB / 1.39 GB, free: 13.81 MB / 1.092 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.004438/1.293, allocations: 2.724 MB / 1.392 GB, free: 11.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/1.294, allocations: 0.9088 MB / 1.393 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/1.295, allocations: 311.4 kB / 1.394 GB, free: 10.96 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.142e-05/1.295, allocations: 31.52 kB / 1.394 GB, free: 10.94 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/1.296, allocations: 0.5116 MB / 1.394 GB, free: 10.61 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/1.296, allocations: 0 / 1.394 GB, free: 10.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.003406/1.3, allocations: 1.269 MB / 1.395 GB, free: 9.918 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/1.3, allocations: 190.1 kB / 1.396 GB, free: 9.699 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000916/1.301, allocations: 0.6422 MB / 1.396 GB, free: 9.32 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-05/1.301, allocations: 47.5 kB / 1.396 GB, free: 9.273 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/1.301, allocations: 400.3 kB / 1.397 GB, free: 8.922 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.301, allocations: 280.5 kB / 1.397 GB, free: 8.68 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/1.302, allocations: 177.6 kB / 1.397 GB, free: 8.566 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.302, allocations: 389.8 kB / 1.397 GB, free: 8.195 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/1.302, allocations: 275.8 kB / 1.398 GB, free: 8.062 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/1.303, allocations: 370.9 kB / 1.398 GB, free: 7.855 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/1.304, allocations: 0.635 MB / 1.399 GB, free: 7.508 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/1.304, allocations: 5 kB / 1.399 GB, free: 7.508 MB / 1.092 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002169/1.307, allocations: 0.8882 MB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.307, allocations: 7.531 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.307, allocations: 1.375 kB / 1.399 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/1.307, allocations: 84.86 kB / 1.4 GB, free: 7.008 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/1.308, allocations: 164.8 kB / 1.4 GB, free: 6.969 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/1.31, allocations: 1.635 MB / 1.401 GB, free: 5.363 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/1.311, allocations: 105.4 kB / 1.401 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/1.311, allocations: 36.19 kB / 1.401 GB, free: 5.281 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (99): * Single equations (assignments): 98 * 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.0005434/1.311, allocations: 272.1 kB / 1.402 GB, free: 5.07 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.312, allocations: 91.88 kB / 1.402 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/1.314, allocations: 1.134 MB / 1.403 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.314, allocations: 9.281 kB / 1.403 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.314, allocations: 1.188 kB / 1.403 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.314, allocations: 11.95 kB / 1.403 GB, free: 4.383 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/1.318, allocations: 2.006 MB / 1.405 GB, free: 3.062 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.318, allocations: 0 / 1.405 GB, free: 3.062 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/1.319, allocations: 159.2 kB / 1.405 GB, free: 3.023 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004332/1.319, allocations: 77.86 kB / 1.405 GB, free: 2.98 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/1.319, allocations: 29.94 kB / 1.405 GB, free: 2.961 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/1.321, allocations: 1.652 MB / 1.407 GB, free: 1.348 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.321, allocations: 0 / 1.407 GB, free: 1.348 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/1.323, allocations: 1.05 MB / 1.408 GB, free: 0.7578 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/1.324, allocations: 287 kB / 1.408 GB, free: 0.5078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/1.324, allocations: 25.42 kB / 1.408 GB, free: 500 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/1.325, allocations: 68.62 kB / 1.408 GB, free: 464 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.325, allocations: 80.06 kB / 1.408 GB, free: 420 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/1.325, allocations: 37.55 kB / 1.408 GB, free: 408 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007213/1.326, allocations: 463.8 kB / 1.409 GB, free: 140 kB / 1.092 GB Notification: Performance of sort global known variables: time 2.073e-06/1.326, allocations: 0 / 1.409 GB, free: 140 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.001031/1.327, allocations: 338.9 kB / 1.409 GB, free: 40 kB / 1.092 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.00146/1.328, allocations: 0.6196 MB / 1.41 GB, free: 15.74 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001757/1.33, allocations: 0.8706 MB / 1.41 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.33, allocations: 4.188 kB / 1.41 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009357/1.331, allocations: 0.5339 MB / 1.411 GB, free: 14.99 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.332, allocations: 308.9 kB / 1.411 GB, free: 14.82 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/1.335, allocations: 1.717 MB / 1.413 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/1.336, allocations: 1.035 MB / 1.414 GB, free: 12.83 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008837/1.337, allocations: 270.8 kB / 1.414 GB, free: 12.56 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/1.337, allocations: 107.4 kB / 1.414 GB, free: 12.46 MB / 1.107 GB Notification: Performance of SimCode: time 5.61e-07/1.337, allocations: 0 / 1.414 GB, free: 12.46 MB / 1.107 GB Notification: Performance of Templates: time 0.0288/1.366, allocations: 15.77 MB / 1.43 GB, free: 12.86 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches