Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00791/0.00791, allocations: 98.8 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 193.3 kB / 16.67 MB, free: 5.961 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.7421 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 56.12 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007816/0.2619, allocations: 6.919 MB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.668/0.9299, allocations: 151.3 MB / 1.374 GB, free: 9.539 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.9308, allocations: 21.44 kB / 1.374 GB, free: 9.531 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.9314, allocations: 264.4 kB / 1.374 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.9334, allocations: 0.8126 MB / 1.375 GB, free: 8.863 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.9353, allocations: 0.9909 MB / 1.376 GB, free: 8.332 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.9371, allocations: 2.154 MB / 1.378 GB, free: 7.211 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.9383, allocations: 1.016 MB / 1.379 GB, free: 6.664 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.9393, allocations: 0.8476 MB / 1.38 GB, free: 6.238 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000877/0.9402, allocations: 0.9055 MB / 1.381 GB, free: 5.734 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.9405, allocations: 211.2 kB / 1.381 GB, free: 5.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.9414, allocations: 0.5652 MB / 1.382 GB, free: 5.547 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003882/0.9418, allocations: 492.2 kB / 1.382 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007955/0.9426, allocations: 0.9542 MB / 1.383 GB, free: 4.449 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.9451, allocations: 2.582 MB / 1.386 GB, free: 2.547 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9451, allocations: 0 / 1.386 GB, free: 2.547 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9451, allocations: 0 / 1.386 GB, free: 2.547 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.421e-05/0.9451, allocations: 0 / 1.386 GB, free: 2.547 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003803/0.9489, allocations: 2.113 MB / 1.388 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.949, allocations: 10.25 kB / 1.388 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/0.9492, allocations: 231.1 kB / 1.388 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.9503, allocations: 267.4 kB / 1.388 GB, free: 0.6016 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.9518, allocations: 1.002 MB / 1.389 GB, free: 15.79 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.9519, allocations: 115.3 kB / 1.389 GB, free: 15.74 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.9521, allocations: 150.7 kB / 1.389 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.9547, allocations: 1.584 MB / 1.391 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9548, allocations: 0 / 1.391 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.9549, allocations: 67 kB / 1.391 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.9549, allocations: 36.91 kB / 1.391 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.9576, allocations: 1.637 MB / 1.393 GB, free: 13.86 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.006494/0.9641, allocations: 4.531 MB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.9662, allocations: 1.19 MB / 1.398 GB, free: 9.668 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007928/0.967, allocations: 481 kB / 1.399 GB, free: 9.422 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-05/0.9671, allocations: 54.34 kB / 1.399 GB, free: 9.391 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.9684, allocations: 0.7751 MB / 1.4 GB, free: 8.902 MB / 1.092 GB Notification: Performance of pre-optimization done (n=128): time 4.208e-06/0.9684, allocations: 0 / 1.4 GB, free: 8.902 MB / 1.092 GB Notification: Performance of matching and sorting (n=128): time 0.004316/0.9727, allocations: 1.852 MB / 1.401 GB, free: 7.926 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.9728, allocations: 201.4 kB / 1.402 GB, free: 7.699 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.9739, allocations: 0.867 MB / 1.402 GB, free: 7.199 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.974, allocations: 47.3 kB / 1.402 GB, free: 7.152 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.9744, allocations: 0.6232 MB / 1.403 GB, free: 6.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.9747, allocations: 431.3 kB / 1.403 GB, free: 6.223 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/0.9751, allocations: 231.2 kB / 1.404 GB, free: 6.082 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9752, allocations: 353.4 kB / 1.404 GB, free: 5.742 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007907/0.976, allocations: 440.2 kB / 1.404 GB, free: 5.523 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009098/0.9769, allocations: 0.56 MB / 1.405 GB, free: 5.18 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.9786, allocations: 0.9601 MB / 1.406 GB, free: 4.668 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9786, allocations: 5.625 kB / 1.406 GB, free: 4.664 MB / 1.092 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002619/0.9812, allocations: 1.299 MB / 1.407 GB, free: 4 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9813, allocations: 8.766 kB / 1.407 GB, free: 3.996 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.9813, allocations: 2.875 kB / 1.407 GB, free: 3.996 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005777/0.9819, allocations: 86.12 kB / 1.407 GB, free: 3.953 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.9829, allocations: 253.3 kB / 1.408 GB, free: 3.887 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.9849, allocations: 1.657 MB / 1.409 GB, free: 2.266 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.9861, allocations: 150.2 kB / 1.409 GB, free: 2.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.9862, allocations: 49.81 kB / 1.409 GB, free: 2.148 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0005613/0.9867, allocations: 346.7 kB / 1.41 GB, free: 1.895 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.987, allocations: 125.3 kB / 1.41 GB, free: 1.828 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/0.9905, allocations: 1.712 MB / 1.411 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.9906, allocations: 13.38 kB / 1.412 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9906, allocations: 0 / 1.412 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.9906, allocations: 10.72 kB / 1.412 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.9923, allocations: 1.414 MB / 1.413 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.9923, allocations: 0 / 1.413 GB, free: 15.47 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/0.9933, allocations: 219.6 kB / 1.413 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004531/0.9938, allocations: 76.78 kB / 1.413 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.9939, allocations: 39.97 kB / 1.413 GB, free: 15.14 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.9958, allocations: 1.674 MB / 1.415 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9958, allocations: 3.938 kB / 1.415 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.9987, allocations: 1.411 MB / 1.416 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.9993, allocations: 379.7 kB / 1.417 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.9996, allocations: 43.88 kB / 1.417 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009941/1.001, allocations: 89.17 kB / 1.417 GB, free: 11.37 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.001, allocations: 109.2 kB / 1.417 GB, free: 11.26 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.001, allocations: 51.97 kB / 1.417 GB, free: 11.21 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008473/1.002, allocations: 0.6503 MB / 1.418 GB, free: 10.55 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 0 / 1.418 GB, free: 10.55 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001175/1.003, allocations: 490.7 kB / 1.418 GB, free: 10.07 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004391/1.007, allocations: 2.495 MB / 1.42 GB, free: 7.73 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002448/1.01, allocations: 1.24 MB / 1.422 GB, free: 6.477 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.01, allocations: 0 / 1.422 GB, free: 6.477 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.011, allocations: 0.744 MB / 1.422 GB, free: 5.723 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.013, allocations: 368.7 kB / 1.423 GB, free: 5.387 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/1.027, allocations: 9.326 MB / 1.432 GB, free: 11.91 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/1.028, allocations: 1.236 MB / 1.433 GB, free: 10.64 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001029/1.029, allocations: 338.1 kB / 1.433 GB, free: 10.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008739/1.03, allocations: 0.628 MB / 1.434 GB, free: 9.676 MB / 1.123 GB Notification: Performance of SimCode: time 6.01e-07/1.03, allocations: 0 / 1.434 GB, free: 9.676 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05673/1.087, allocations: 31.16 MB / 1.464 GB, free: 10.88 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.09, allocations: 7.938 kB / 1.464 GB, free: 10.87 MB / 1.154 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches