Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_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.006352/0.006352, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.00138/0.00138, allocations: 191 kB / 16.67 MB, free: 5.969 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 0.9503 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6957/0.6969, allocations: 140.4 MB / 1.087 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00624/0.7032, allocations: 5.453 MB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1598/0.863, allocations: 151.1 MB / 1.24 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.8647, allocations: 26 kB / 1.24 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.8658, allocations: 221 kB / 1.241 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.8688, allocations: 0.6852 MB / 1.241 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.8718, allocations: 0.9863 MB / 1.242 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.8741, allocations: 1.895 MB / 1.244 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.8757, allocations: 1.08 MB / 1.245 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.8768, allocations: 0.8121 MB / 1.246 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.878, allocations: 0.8634 MB / 1.247 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000395/0.8784, allocations: 208 kB / 1.247 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.8796, allocations: 0.566 MB / 1.247 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.8802, allocations: 490.4 kB / 1.248 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.8815, allocations: 0.9056 MB / 1.249 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.8846, allocations: 2.492 MB / 1.251 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8847, allocations: 0 / 1.251 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8847, allocations: 0 / 1.251 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.255e-05/0.8847, allocations: 0 / 1.251 GB, free: 5.867 MB / 0.9825 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.004312/0.889, allocations: 2.027 MB / 1.253 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.8891, allocations: 12.03 kB / 1.253 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.8894, allocations: 224.1 kB / 1.253 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.8905, allocations: 258.5 kB / 1.254 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001501/0.892, allocations: 0.9964 MB / 1.255 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.8921, allocations: 115.1 kB / 1.255 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.8923, allocations: 152 kB / 1.255 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.8949, allocations: 1.58 MB / 1.256 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.895, allocations: 0 / 1.256 GB, free: 352 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.8951, allocations: 64 kB / 1.257 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.8952, allocations: 40 kB / 1.257 GB, free: 248 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.8978, allocations: 1.635 MB / 1.258 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006316/0.9041, allocations: 4.099 MB / 1.262 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.9062, allocations: 1.18 MB / 1.263 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.907, allocations: 479.6 kB / 1.264 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.9071, allocations: 45.08 kB / 1.264 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.9084, allocations: 0.7821 MB / 1.265 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=128): time 3.106e-06/0.9084, allocations: 0 / 1.265 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=128): time 0.004152/0.9125, allocations: 1.838 MB / 1.266 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.9126, allocations: 197.2 kB / 1.267 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.9138, allocations: 0.8576 MB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.9139, allocations: 49.7 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.9143, allocations: 0.6171 MB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.9146, allocations: 414.1 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.915, allocations: 234.7 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9151, allocations: 353.9 kB / 1.269 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000793/0.9159, allocations: 430.3 kB / 1.269 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009157/0.9168, allocations: 0.5565 MB / 1.27 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.9186, allocations: 0.9545 MB / 1.271 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.9186, allocations: 8 kB / 1.271 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002795/0.9214, allocations: 1.289 MB / 1.272 GB, free: 15.97 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.9214, allocations: 8 kB / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9214, allocations: 0 / 1.272 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/0.922, allocations: 84.84 kB / 1.272 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9231, allocations: 251.6 kB / 1.273 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.9251, allocations: 1.642 MB / 1.274 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9261, allocations: 153.5 kB / 1.274 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.9263, allocations: 51.97 kB / 1.274 GB, free: 13.64 MB / 1.014 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.0006166/0.9269, allocations: 348.2 kB / 1.275 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.9272, allocations: 114.7 kB / 1.275 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.9307, allocations: 1.706 MB / 1.276 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.9308, allocations: 16 kB / 1.276 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9308, allocations: 0 / 1.276 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.9308, allocations: 11.91 kB / 1.276 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.9326, allocations: 1.408 MB / 1.278 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.9326, allocations: 0 / 1.278 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009183/0.9335, allocations: 219.7 kB / 1.278 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.9339, allocations: 72.78 kB / 1.278 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.9341, allocations: 39.97 kB / 1.278 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.9358, allocations: 1.678 MB / 1.28 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9358, allocations: 0 / 1.28 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.9386, allocations: 1.406 MB / 1.281 GB, free: 6.402 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.9392, allocations: 371.1 kB / 1.282 GB, free: 6.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.9395, allocations: 43.89 kB / 1.282 GB, free: 5.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008909/0.9404, allocations: 83.91 kB / 1.282 GB, free: 5.895 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.9406, allocations: 109.2 kB / 1.282 GB, free: 5.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.9407, allocations: 55.97 kB / 1.282 GB, free: 5.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008751/0.9416, allocations: 0.6464 MB / 1.282 GB, free: 5.074 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9416, allocations: 4 kB / 1.282 GB, free: 5.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001116/0.9427, allocations: 450.6 kB / 1.283 GB, free: 4.629 MB / 1.014 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.004231/0.947, allocations: 2.499 MB / 1.285 GB, free: 2.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.9493, allocations: 1.232 MB / 1.286 GB, free: 1.031 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9493, allocations: 0 / 1.286 GB, free: 1.031 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.9506, allocations: 0.7403 MB / 1.287 GB, free: 288 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.9519, allocations: 326.9 kB / 1.288 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.969, allocations: 9.381 MB / 1.297 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/0.97, allocations: 1.24 MB / 1.298 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001234/0.9712, allocations: 333.8 kB / 1.298 GB, free: 4.844 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009179/0.9722, allocations: 0.6242 MB / 1.299 GB, free: 4.219 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.9722, allocations: 0 / 1.299 GB, free: 4.219 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/1.03, allocations: 30.18 MB / 1.328 GB, free: 6.363 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.96, allocations: 15.69 kB / 1.328 GB, free: 6.348 MB / 1.061 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches