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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007953/0.007953, allocations: 104.6 kB / 15.74 MB, free: 6.039 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.001892/0.001892, allocations: 196 kB / 16.68 MB, free: 5.957 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.452/2.452, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.91 kB / 1.054 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7839, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007953/0.7919, allocations: 6.92 MB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1464/0.9383, allocations: 151.3 MB / 1.362 GB, free: 14.75 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.9395, allocations: 19.94 kB / 1.362 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009258/0.9406, allocations: 261.4 kB / 1.362 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.9431, allocations: 0.7913 MB / 1.363 GB, free: 13.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.9454, allocations: 0.9961 MB / 1.364 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002619/0.9481, allocations: 2.152 MB / 1.366 GB, free: 10.53 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.9497, allocations: 1.018 MB / 1.367 GB, free: 9.465 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.951, allocations: 0.8487 MB / 1.368 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001493/0.9525, allocations: 0.9064 MB / 1.369 GB, free: 7.703 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.953, allocations: 208 kB / 1.369 GB, free: 7.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.9544, allocations: 0.5621 MB / 1.369 GB, free: 6.938 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.9548, allocations: 494.4 kB / 1.37 GB, free: 6.453 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.9556, allocations: 0.9524 MB / 1.371 GB, free: 5.496 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.958, allocations: 2.566 MB / 1.373 GB, free: 2.922 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.958, allocations: 0 / 1.373 GB, free: 2.922 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.352e-06/0.958, allocations: 0 / 1.373 GB, free: 2.922 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.958, allocations: 0 / 1.373 GB, free: 2.922 MB / 1.092 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.00355/0.9616, allocations: 2.066 MB / 1.375 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.9616, allocations: 8.031 kB / 1.375 GB, free: 0.7812 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000248/0.9619, allocations: 224.1 kB / 1.375 GB, free: 0.5508 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.9629, allocations: 262.5 kB / 1.376 GB, free: 300 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.9643, allocations: 0.9964 MB / 1.377 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/0.9644, allocations: 119 kB / 1.377 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.9646, allocations: 152 kB / 1.377 GB, free: 14.99 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/0.9669, allocations: 1.58 MB / 1.378 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.967, allocations: 0 / 1.378 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.9671, allocations: 64 kB / 1.379 GB, free: 13.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.9672, allocations: 36 kB / 1.379 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.9696, allocations: 1.639 MB / 1.38 GB, free: 11.61 MB / 1.107 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.006473/0.9761, allocations: 4.52 MB / 1.385 GB, free: 6.91 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.978, allocations: 1.194 MB / 1.386 GB, free: 5.715 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.9788, allocations: 479.6 kB / 1.386 GB, free: 5.246 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.9789, allocations: 45 kB / 1.386 GB, free: 5.199 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.9801, allocations: 0.7782 MB / 1.387 GB, free: 4.402 MB / 1.107 GB Notification: Performance of pre-optimization done (n=128): time 2.605e-06/0.9801, allocations: 0 / 1.387 GB, free: 4.402 MB / 1.107 GB Notification: Performance of matching and sorting (n=128): time 0.004156/0.9843, allocations: 1.85 MB / 1.389 GB, free: 2.527 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.9844, allocations: 193.2 kB / 1.389 GB, free: 2.297 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.9855, allocations: 0.8771 MB / 1.39 GB, free: 1.395 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.9856, allocations: 49.81 kB / 1.39 GB, free: 1.34 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004306/0.986, allocations: 0.6169 MB / 1.39 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.9863, allocations: 402.1 kB / 1.391 GB, free: 320 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/0.9867, allocations: 246.7 kB / 1.391 GB, free: 64 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9868, allocations: 345.9 kB / 1.391 GB, free: 15.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.9876, allocations: 430.4 kB / 1.392 GB, free: 15.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008713/0.9884, allocations: 0.5643 MB / 1.392 GB, free: 14.71 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.99, allocations: 0.9662 MB / 1.393 GB, free: 13.73 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.99, allocations: 0 / 1.393 GB, free: 13.73 MB / 1.123 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002643/0.9927, allocations: 1.293 MB / 1.395 GB, free: 12.43 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.9927, allocations: 4 kB / 1.395 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9927, allocations: 4 kB / 1.395 GB, free: 12.42 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/0.9934, allocations: 84.83 kB / 1.395 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.9944, allocations: 259.6 kB / 1.395 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.9965, allocations: 1.648 MB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.9977, allocations: 146.8 kB / 1.397 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.9978, allocations: 59.89 kB / 1.397 GB, free: 10.09 MB / 1.123 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.0006126/0.9984, allocations: 336.2 kB / 1.397 GB, free: 9.75 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002248/0.9986, allocations: 122.5 kB / 1.397 GB, free: 9.629 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.002, allocations: 1.706 MB / 1.399 GB, free: 7.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.002, allocations: 12 kB / 1.399 GB, free: 7.898 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.002, allocations: 4 kB / 1.399 GB, free: 7.895 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.002, allocations: 11.97 kB / 1.399 GB, free: 7.883 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.004, allocations: 1.408 MB / 1.4 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.004, allocations: 0 / 1.4 GB, free: 6.422 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/1.004, allocations: 215.7 kB / 1.4 GB, free: 6.211 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/1.005, allocations: 80.73 kB / 1.401 GB, free: 6.129 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/1.005, allocations: 43.95 kB / 1.401 GB, free: 6.086 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.007, allocations: 1.666 MB / 1.402 GB, free: 4.273 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.007, allocations: 4.062 kB / 1.402 GB, free: 4.27 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/1.009, allocations: 1.41 MB / 1.404 GB, free: 2.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/1.01, allocations: 375 kB / 1.404 GB, free: 2.453 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.01, allocations: 39.84 kB / 1.404 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008822/1.011, allocations: 87.84 kB / 1.404 GB, free: 2.328 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.011, allocations: 113.3 kB / 1.404 GB, free: 2.215 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/1.011, allocations: 55.94 kB / 1.404 GB, free: 2.16 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007853/1.012, allocations: 0.6503 MB / 1.405 GB, free: 1.5 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.012, allocations: 0 / 1.405 GB, free: 1.5 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001043/1.013, allocations: 482.6 kB / 1.405 GB, free: 1.027 MB / 1.123 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.004056/1.017, allocations: 2.479 MB / 1.408 GB, free: 14.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.019, allocations: 1.244 MB / 1.409 GB, free: 13.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.019, allocations: 4.062 kB / 1.409 GB, free: 13.44 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/1.021, allocations: 0.7363 MB / 1.41 GB, free: 12.69 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.022, allocations: 356.5 kB / 1.41 GB, free: 12.36 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.036, allocations: 9.279 MB / 1.419 GB, free: 2.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/1.037, allocations: 1.236 MB / 1.42 GB, free: 1.66 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001046/1.038, allocations: 326.1 kB / 1.421 GB, free: 1.34 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/1.039, allocations: 0.632 MB / 1.421 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of SimCode: time 1.964e-06/1.039, allocations: 0 / 1.421 GB, free: 0.7109 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05684/1.096, allocations: 31.84 MB / 1.452 GB, free: 1.246 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.49, allocations: 10.2 kB / 1.452 GB, free: 1.242 MB / 1.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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