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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0008692/0.0008694, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008847/0.0008846, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8353, allocations: 142.3 MB / 0.9536 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005308/0.8406, allocations: 4.469 MB / 0.9579 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1804/1.021, allocations: 127.9 MB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/1.022, allocations: 19.88 kB / 1.083 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/1.023, allocations: 87.12 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/1.025, allocations: 0.6256 MB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/1.027, allocations: 0.7411 MB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001933/1.029, allocations: 1.087 MB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/1.03, allocations: 0.931 MB / 1.086 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/1.031, allocations: 0.4939 MB / 1.087 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006734/1.032, allocations: 0.5127 MB / 1.087 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/1.032, allocations: 36 kB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008642/1.033, allocations: 323.6 kB / 1.088 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/1.033, allocations: 258.8 kB / 1.088 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002695/1.034, allocations: 300.8 kB / 1.088 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/1.035, allocations: 1.886 MB / 1.09 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/1.035, allocations: 4 kB / 1.09 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.454e-06/1.035, allocations: 0 / 1.09 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.205e-05/1.035, allocations: 0 / 1.09 GB, free: 4.102 MB / 0.8419 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.0033/1.039, allocations: 1.671 MB / 1.092 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.039, allocations: 8.031 kB / 1.092 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/1.039, allocations: 232 kB / 1.092 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/1.04, allocations: 261.7 kB / 1.092 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/1.041, allocations: 0.946 MB / 1.093 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.042, allocations: 148.8 kB / 1.093 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/1.042, allocations: 152 kB / 1.093 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/1.044, allocations: 1.569 MB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.044, allocations: 4 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.045, allocations: 68 kB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/1.045, allocations: 40 kB / 1.095 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.047, allocations: 1.588 MB / 1.096 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006669/1.054, allocations: 4.287 MB / 1.101 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/1.056, allocations: 1.088 MB / 1.102 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-05/1.056, allocations: 40.92 kB / 1.102 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/1.057, allocations: 0.7075 MB / 1.102 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=111): time 2.905e-06/1.057, allocations: 0 / 1.102 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=111): time 0.003667/1.061, allocations: 1.644 MB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.061, allocations: 204.9 kB / 1.104 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.062, allocations: 0.8339 MB / 1.105 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/1.062, allocations: 49.7 kB / 1.105 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/1.062, allocations: 0.6206 MB / 1.106 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.063, allocations: 351 kB / 1.106 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/1.063, allocations: 20 kB / 1.106 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.063, allocations: 349.9 kB / 1.106 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006647/1.064, allocations: 370.5 kB / 1.107 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/1.064, allocations: 0.5024 MB / 1.107 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/1.065, allocations: 434.8 kB / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.065, allocations: 0 / 1.108 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002268/1.067, allocations: 1.145 MB / 1.109 GB, free: 388 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.067, allocations: 9.406 kB / 1.109 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.067, allocations: 0 / 1.109 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005647/1.068, allocations: 96.77 kB / 1.109 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/1.069, allocations: 215.7 kB / 1.109 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/1.071, allocations: 1.559 MB / 1.111 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008889/1.072, allocations: 147 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/1.072, allocations: 43.97 kB / 1.111 GB, free: 14.18 MB / 0.8731 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 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000643/1.073, allocations: 352 kB / 1.111 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/1.073, allocations: 114.6 kB / 1.111 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/1.076, allocations: 1.555 MB / 1.113 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.076, allocations: 12 kB / 1.113 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.076, allocations: 3.984 kB / 1.113 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.076, allocations: 7.969 kB / 1.113 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/1.077, allocations: 1.376 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.077, allocations: 0 / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/1.078, allocations: 199.7 kB / 1.114 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/1.079, allocations: 84.78 kB / 1.114 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/1.079, allocations: 35.97 kB / 1.114 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.081, allocations: 1.571 MB / 1.116 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.081, allocations: 0 / 1.116 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.083, allocations: 1.289 MB / 1.117 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/1.083, allocations: 383 kB / 1.118 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.084, allocations: 31.98 kB / 1.118 GB, free: 6.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/1.084, allocations: 101.8 kB / 1.118 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/1.085, allocations: 101.2 kB / 1.118 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.085, allocations: 51.95 kB / 1.118 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008335/1.086, allocations: 0.6059 MB / 1.118 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/1.086, allocations: 4 kB / 1.118 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001143/1.087, allocations: 446.5 kB / 1.119 GB, free: 5.625 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003904/1.091, allocations: 2.342 MB / 1.121 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.093, allocations: 1.109 MB / 1.122 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.093, allocations: 8.188 kB / 1.122 GB, free: 2.301 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.094, allocations: 0.6738 MB / 1.123 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/1.095, allocations: 265.2 kB / 1.123 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/1.101, allocations: 4.528 MB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/1.102, allocations: 1.254 MB / 1.129 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001048/1.103, allocations: 313 kB / 1.129 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.104, allocations: 0.6047 MB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of SimCode: time 8.42e-07/1.104, allocations: 0 / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/1.151, allocations: 28.1 MB / 1.157 GB, free: 14.87 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/1.152, allocations: 278.6 kB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.669, allocations: 4.844 kB / 1.157 GB, free: 14.51 MB / 0.92 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat does not exist to compare? outputFormat=mat