Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.008073/0.008073, allocations: 101.3 kB / 15.73 MB, free: 5.492 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.001962/0.001962, allocations: 186.3 kB / 16.67 MB, free: 5.422 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 14.96 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.177/2.177, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 0.9504 GB, free: 8.219 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7431, allocations: 140.4 MB / 1.087 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006092/0.7492, allocations: 5.327 MB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.9184, allocations: 151 MB / 1.24 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.9196, allocations: 21.78 kB / 1.24 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.9203, allocations: 205.1 kB / 1.24 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.9228, allocations: 0.6436 MB / 1.241 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.9253, allocations: 1.01 MB / 1.242 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002505/0.9278, allocations: 1.805 MB / 1.244 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.9294, allocations: 1.169 MB / 1.245 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.9307, allocations: 0.7867 MB / 1.246 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.9317, allocations: 0.8421 MB / 1.246 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.9319, allocations: 216 kB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.9332, allocations: 0.5738 MB / 1.247 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.9336, allocations: 494.5 kB / 1.248 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007486/0.9344, allocations: 0.9134 MB / 1.249 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002542/0.9369, allocations: 2.578 MB / 1.251 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9369, allocations: 0 / 1.251 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.348e-06/0.9369, allocations: 0 / 1.251 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.937, allocations: 3.938 kB / 1.251 GB, free: 6.227 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003644/0.9406, allocations: 2.006 MB / 1.253 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.9407, allocations: 12.03 kB / 1.253 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.9409, allocations: 228.2 kB / 1.253 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/0.9419, allocations: 254.5 kB / 1.253 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.9433, allocations: 0.9889 MB / 1.254 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.9434, allocations: 152.8 kB / 1.255 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.9436, allocations: 152 kB / 1.255 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.9461, allocations: 1.589 MB / 1.256 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.9461, allocations: 0 / 1.256 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.9462, allocations: 71.92 kB / 1.256 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.9463, allocations: 40 kB / 1.256 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.9487, allocations: 1.596 MB / 1.258 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006082/0.9548, allocations: 4.182 MB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.9566, allocations: 1.086 MB / 1.263 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.9573, allocations: 435.7 kB / 1.264 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-05/0.9574, allocations: 41.02 kB / 1.264 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.9585, allocations: 0.7036 MB / 1.264 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.635e-06/0.9586, allocations: 4 kB / 1.264 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.00361/0.9622, allocations: 1.633 MB / 1.266 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.9623, allocations: 204.8 kB / 1.266 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.9633, allocations: 0.8456 MB / 1.267 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.363e-05/0.9634, allocations: 49.7 kB / 1.267 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.9638, allocations: 0.6129 MB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.9641, allocations: 358.8 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.9644, allocations: 206.8 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9646, allocations: 345.9 kB / 1.268 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.9652, allocations: 382.4 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007738/0.966, allocations: 0.4946 MB / 1.269 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.9675, allocations: 0.8594 MB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.9675, allocations: 64 / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002392/0.9699, allocations: 1.149 MB / 1.271 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.9699, allocations: 4 kB / 1.271 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.9699, allocations: 4 kB / 1.271 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.9705, allocations: 84.86 kB / 1.271 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009291/0.9715, allocations: 227.6 kB / 1.271 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.9734, allocations: 1.651 MB / 1.273 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/0.9743, allocations: 130.9 kB / 1.273 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.9744, allocations: 43.97 kB / 1.273 GB, free: 14.85 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * 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.000632/0.975, allocations: 343.9 kB / 1.274 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.9753, allocations: 118.5 kB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.9783, allocations: 1.524 MB / 1.275 GB, free: 12.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.9783, allocations: 16 kB / 1.275 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.9783, allocations: 4 kB / 1.275 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.9784, allocations: 11.97 kB / 1.275 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.9799, allocations: 1.38 MB / 1.277 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9799, allocations: 0 / 1.277 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/0.9807, allocations: 195.7 kB / 1.277 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.9812, allocations: 72.8 kB / 1.277 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.9812, allocations: 35.97 kB / 1.277 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.983, allocations: 1.681 MB / 1.279 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.983, allocations: 0 / 1.279 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.9855, allocations: 1.281 MB / 1.28 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.9861, allocations: 359.2 kB / 1.28 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.9862, allocations: 31.94 kB / 1.28 GB, free: 7.555 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.987, allocations: 86.56 kB / 1.28 GB, free: 7.473 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.9872, allocations: 97.17 kB / 1.28 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.9873, allocations: 51.95 kB / 1.28 GB, free: 7.324 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007927/0.9881, allocations: 0.6215 MB / 1.281 GB, free: 6.691 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9881, allocations: 0 / 1.281 GB, free: 6.691 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001019/0.9891, allocations: 442.5 kB / 1.281 GB, free: 6.258 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003839/0.993, allocations: 2.345 MB / 1.284 GB, free: 4.059 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.9951, allocations: 1.117 MB / 1.285 GB, free: 2.934 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9952, allocations: 4.062 kB / 1.285 GB, free: 2.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.9963, allocations: 0.6776 MB / 1.285 GB, free: 2.238 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.9976, allocations: 324.4 kB / 1.286 GB, free: 1.941 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.012, allocations: 8.857 MB / 1.294 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/1.012, allocations: 1.224 MB / 1.296 GB, free: 7.668 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009601/1.013, allocations: 317.1 kB / 1.296 GB, free: 7.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007687/1.014, allocations: 0.6047 MB / 1.296 GB, free: 6.75 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/1.014, allocations: 0 / 1.296 GB, free: 6.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/1.087, allocations: 28.76 MB / 1.325 GB, free: 10.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.99, allocations: 4.422 kB / 1.325 GB, free: 10.34 MB / 1.061 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches