Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 390.5 MB / 398 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 180.8 kB / 491.2 MB, free: 1.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 97.77 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.188e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2983, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.179/4.477, allocations: 1.736 GB / 2.948 GB, free: 128.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/4.477, allocations: 87.95 kB / 2.948 GB, free: 128.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2575/4.735, allocations: 118.1 MB / 3.064 GB, free: 9.59 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.104e-06/4.735, allocations: 3.938 kB / 3.064 GB, free: 9.586 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001778/4.735, allocations: 55.94 kB / 3.064 GB, free: 9.531 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.005939/4.741, allocations: 2.228 MB / 3.066 GB, free: 7.242 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/4.741, allocations: 12.03 kB / 3.066 GB, free: 7.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/4.754, allocations: 1.936 MB / 3.068 GB, free: 5.289 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/4.758, allocations: 1.332 MB / 3.069 GB, free: 3.91 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/4.758, allocations: 84 kB / 3.069 GB, free: 3.828 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/4.759, allocations: 143.9 kB / 3.069 GB, free: 3.688 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007247/4.766, allocations: 3.411 MB / 3.073 GB, free: 276 kB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6394/5.406, allocations: 2.683 MB / 3.075 GB, free: 370.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/5.406, allocations: 1.344 kB / 3.075 GB, free: 370.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000473/5.406, allocations: 1.469 kB / 3.075 GB, free: 370.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/5.406, allocations: 61.36 kB / 3.075 GB, free: 370.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/5.427, allocations: 8.405 MB / 3.084 GB, free: 369.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/5.431, allocations: 2.242 MB / 3.086 GB, free: 369.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002078/5.433, allocations: 1.185 MB / 3.087 GB, free: 369.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008777/5.434, allocations: 0.5222 MB / 3.087 GB, free: 369.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/5.437, allocations: 1.464 MB / 3.089 GB, free: 369.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=222): time 5.069e-06/5.437, allocations: 0 / 3.089 GB, free: 369.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=222): time 0.01538/5.452, allocations: 4.044 MB / 3.093 GB, free: 369.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/5.452, allocations: 261.2 kB / 3.093 GB, free: 368.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/5.454, allocations: 0.7711 MB / 3.094 GB, free: 368.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/5.454, allocations: 26.92 kB / 3.094 GB, free: 368.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008516/5.455, allocations: 0.8348 MB / 3.095 GB, free: 368.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000657/5.455, allocations: 0.6946 MB / 3.095 GB, free: 367.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/5.456, allocations: 0 / 3.095 GB, free: 367.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001308/5.456, allocations: 373.6 kB / 3.096 GB, free: 367.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/5.457, allocations: 0.9371 MB / 3.097 GB, free: 367.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/5.459, allocations: 1.121 MB / 3.098 GB, free: 367.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/5.47, allocations: 2.68 MB / 3.1 GB, free: 367.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/5.47, allocations: 3.953 kB / 3.1 GB, free: 367.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01489/5.485, allocations: 4.112 MB / 3.104 GB, free: 367.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/5.485, allocations: 5.859 kB / 3.104 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/5.485, allocations: 2.438 kB / 3.104 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006346/5.486, allocations: 87.19 kB / 3.104 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/5.49, allocations: 0.628 MB / 3.105 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/5.492, allocations: 1.451 MB / 3.106 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/5.495, allocations: 306.5 kB / 3.107 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004404/5.496, allocations: 100.8 kB / 3.107 GB, free: 366.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.000678/5.496, allocations: 142.3 kB / 3.107 GB, free: 365.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01484/5.511, allocations: 4.053 MB / 3.111 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000518/5.512, allocations: 151.2 kB / 3.111 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01664/5.528, allocations: 4.755 MB / 3.116 GB, free: 363.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/5.528, allocations: 23.66 kB / 3.116 GB, free: 363.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/5.528, allocations: 0 / 3.116 GB, free: 363.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/5.528, allocations: 10.59 kB / 3.116 GB, free: 363.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01832/5.547, allocations: 7.404 MB / 3.123 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/5.547, allocations: 5.969 kB / 3.123 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003614/5.55, allocations: 0.5947 MB / 3.124 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/5.551, allocations: 92.16 kB / 3.124 GB, free: 360.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002269/5.551, allocations: 46.09 kB / 3.124 GB, free: 360.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/5.553, allocations: 1.487 MB / 3.125 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/5.553, allocations: 4.062 kB / 3.125 GB, free: 359.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/5.567, allocations: 4.22 MB / 3.129 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/5.569, allocations: 0.6596 MB / 3.13 GB, free: 357.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007134/5.57, allocations: 0 / 3.13 GB, free: 357.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003167/5.573, allocations: 242.8 kB / 3.13 GB, free: 357.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/5.573, allocations: 142.5 kB / 3.13 GB, free: 357.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002983/5.574, allocations: 90.08 kB / 3.13 GB, free: 357.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001203/5.575, allocations: 0.6573 MB / 3.131 GB, free: 357.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3e-07/5.575, allocations: 0 / 3.131 GB, free: 357.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002963/5.578, allocations: 0.687 MB / 3.132 GB, free: 357 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.01649/5.594, allocations: 5.796 MB / 3.137 GB, free: 354.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004962/5.599, allocations: 2.48 MB / 3.14 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/5.599, allocations: 0 / 3.14 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/5.602, allocations: 1.432 MB / 3.141 GB, free: 353.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/5.604, allocations: 245.6 kB / 3.141 GB, free: 353.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/5.614, allocations: 3.654 MB / 3.145 GB, free: 351.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/5.615, allocations: 1.537 MB / 3.146 GB, free: 350.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004296/5.62, allocations: 0.5931 MB / 3.147 GB, free: 350.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/5.622, allocations: 0.9599 MB / 3.148 GB, free: 349.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.302e-06/5.622, allocations: 0 / 3.148 GB, free: 349.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/5.702, allocations: 47.88 MB / 3.195 GB, free: 327.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/5.702, allocations: 215.1 kB / 3.195 GB, free: 326.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/9.159, allocations: 1.828 kB / 3.195 GB, free: 326.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat does not exist to compare? outputFormat=mat