Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_latest_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.004724/0.004724, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001121/0.001121, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7422 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 1.064 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.6711, allocations: 159.1 MB / 1.22 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00861/0.6797, allocations: 7.027 MB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.147/0.8268, allocations: 151.1 MB / 1.374 GB, free: 3.551 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.8279, allocations: 23.88 kB / 1.374 GB, free: 3.527 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008899/0.8288, allocations: 265.4 kB / 1.374 GB, free: 3.266 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.8313, allocations: 0.7951 MB / 1.375 GB, free: 2.473 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.8337, allocations: 1.016 MB / 1.376 GB, free: 1.461 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.836, allocations: 2.104 MB / 1.378 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.8376, allocations: 1.113 MB / 1.379 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.8387, allocations: 0.8253 MB / 1.38 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8398, allocations: 0.8815 MB / 1.381 GB, free: 12.47 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003876/0.8402, allocations: 223.9 kB / 1.381 GB, free: 12.25 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.8413, allocations: 0.5777 MB / 1.382 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.8418, allocations: 494.5 kB / 1.382 GB, free: 11.19 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.8429, allocations: 0.9681 MB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.8458, allocations: 2.678 MB / 1.386 GB, free: 7.531 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8458, allocations: 4 kB / 1.386 GB, free: 7.527 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8458, allocations: 0 / 1.386 GB, free: 7.527 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.39e-05/0.8459, allocations: 0 / 1.386 GB, free: 7.527 MB / 1.107 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.00423/0.8501, allocations: 2.104 MB / 1.388 GB, free: 5.363 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8502, allocations: 8.625 kB / 1.388 GB, free: 5.355 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.8504, allocations: 228.2 kB / 1.388 GB, free: 5.121 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.8515, allocations: 267.6 kB / 1.388 GB, free: 4.859 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.853, allocations: 1.005 MB / 1.389 GB, free: 3.809 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.8531, allocations: 144.8 kB / 1.39 GB, free: 3.66 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.8533, allocations: 148 kB / 1.39 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.8559, allocations: 1.6 MB / 1.391 GB, free: 1.859 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.856, allocations: 4 kB / 1.391 GB, free: 1.855 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.8561, allocations: 60 kB / 1.391 GB, free: 1.797 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.8561, allocations: 40 kB / 1.391 GB, free: 1.758 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/0.8587, allocations: 1.592 MB / 1.393 GB, free: 164 kB / 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.006498/0.8652, allocations: 4.682 MB / 1.397 GB, free: 11.29 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.8672, allocations: 1.102 MB / 1.399 GB, free: 10.19 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.8679, allocations: 427.7 kB / 1.399 GB, free: 9.766 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.8681, allocations: 53.06 kB / 1.399 GB, free: 9.715 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.8693, allocations: 0.694 MB / 1.4 GB, free: 9.008 MB / 1.123 GB Notification: Performance of pre-optimization done (n=111): time 3.066e-06/0.8693, allocations: 0 / 1.4 GB, free: 9.008 MB / 1.123 GB Notification: Performance of matching and sorting (n=111): time 0.004003/0.8733, allocations: 1.657 MB / 1.401 GB, free: 7.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.8734, allocations: 196.9 kB / 1.401 GB, free: 7.086 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.8745, allocations: 0.8495 MB / 1.402 GB, free: 6.211 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.783e-05/0.8746, allocations: 45.7 kB / 1.402 GB, free: 6.16 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.8751, allocations: 0.6376 MB / 1.403 GB, free: 5.516 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.8754, allocations: 376.8 kB / 1.403 GB, free: 5.145 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.8757, allocations: 206.8 kB / 1.404 GB, free: 4.938 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.8758, allocations: 345.9 kB / 1.404 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.8766, allocations: 378.4 kB / 1.404 GB, free: 4.223 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.8775, allocations: 0.5024 MB / 1.405 GB, free: 3.691 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.8791, allocations: 0.8633 MB / 1.406 GB, free: 2.812 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8791, allocations: 0 / 1.406 GB, free: 2.812 MB / 1.123 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00254/0.8816, allocations: 1.157 MB / 1.407 GB, free: 1.645 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8817, allocations: 8 kB / 1.407 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8817, allocations: 0 / 1.407 GB, free: 1.637 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/0.8823, allocations: 84.83 kB / 1.407 GB, free: 1.551 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.8833, allocations: 227.6 kB / 1.407 GB, free: 1.328 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.8853, allocations: 1.651 MB / 1.409 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009812/0.8863, allocations: 139.2 kB / 1.409 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.8864, allocations: 47.95 kB / 1.409 GB, free: 15.35 MB / 1.139 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.0005526/0.887, allocations: 339.9 kB / 1.409 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.8873, allocations: 119.2 kB / 1.409 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/0.8905, allocations: 1.528 MB / 1.411 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.8906, allocations: 12 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.8906, allocations: 0 / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.8906, allocations: 11.97 kB / 1.411 GB, free: 13.33 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.8922, allocations: 1.388 MB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.8922, allocations: 0 / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008552/0.893, allocations: 199.7 kB / 1.412 GB, free: 11.69 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.8935, allocations: 76.78 kB / 1.412 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/0.8936, allocations: 31.97 kB / 1.412 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.8955, allocations: 1.685 MB / 1.414 GB, free: 9.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8955, allocations: 4.062 kB / 1.414 GB, free: 9.746 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.8981, allocations: 1.278 MB / 1.415 GB, free: 8.449 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/0.8987, allocations: 363.9 kB / 1.416 GB, free: 8.074 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.899, allocations: 47.81 kB / 1.416 GB, free: 8.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/0.8999, allocations: 71.92 kB / 1.416 GB, free: 7.957 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.9001, allocations: 105.2 kB / 1.416 GB, free: 7.852 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9003, allocations: 51.95 kB / 1.416 GB, free: 7.801 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008765/0.9011, allocations: 0.6176 MB / 1.416 GB, free: 7.172 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9011, allocations: 0 / 1.416 GB, free: 7.172 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001085/0.9022, allocations: 478.6 kB / 1.417 GB, free: 6.703 MB / 1.139 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.004168/0.9064, allocations: 2.366 MB / 1.419 GB, free: 4.484 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.9086, allocations: 1.113 MB / 1.42 GB, free: 3.363 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9086, allocations: 4.188 kB / 1.42 GB, free: 3.359 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.9098, allocations: 0.6855 MB / 1.421 GB, free: 2.66 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.9112, allocations: 356.7 kB / 1.421 GB, free: 2.332 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.9252, allocations: 8.725 MB / 1.43 GB, free: 9.445 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007887/0.926, allocations: 1.216 MB / 1.431 GB, free: 8.195 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009603/0.9269, allocations: 317.3 kB / 1.431 GB, free: 7.883 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008552/0.9278, allocations: 0.6047 MB / 1.432 GB, free: 7.277 MB / 1.154 GB Notification: Performance of SimCode: time 4.71e-07/0.9278, allocations: 0 / 1.432 GB, free: 7.277 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/0.9839, allocations: 29.39 MB / 1.461 GB, free: 10.27 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.87, allocations: 2.656 kB / 1.461 GB, free: 10.27 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches