Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.0008386/0.0008391, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0008147/0.000815, allocations: 172.7 kB / 15.95 MB, free: 208 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.381/1.381, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.539/2.539, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8556, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004904/0.8605, allocations: 3.739 MB / 0.9848 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1678/1.028, allocations: 136.7 MB / 1.118 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008159/1.029, allocations: 15.94 kB / 1.118 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/1.03, allocations: 130.9 kB / 1.118 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/1.031, allocations: 429 kB / 1.119 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/1.033, allocations: 0.6215 MB / 1.119 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001213/1.034, allocations: 1.113 MB / 1.121 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006909/1.035, allocations: 475.2 kB / 1.121 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/1.035, allocations: 318.6 kB / 1.121 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/1.036, allocations: 363.1 kB / 1.122 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.507e-05/1.036, allocations: 28 kB / 1.122 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007987/1.037, allocations: 331.7 kB / 1.122 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/1.037, allocations: 183.1 kB / 1.122 GB, free: 5.418 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/1.037, allocations: 193.1 kB / 1.122 GB, free: 5.223 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/1.038, allocations: 1.142 MB / 1.123 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.038, allocations: 0 / 1.123 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.663e-06/1.038, allocations: 0 / 1.123 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.129e-05/1.038, allocations: 4 kB / 1.123 GB, free: 4.074 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002316/1.041, allocations: 1.216 MB / 1.125 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.041, allocations: 12.03 kB / 1.125 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/1.041, allocations: 135.2 kB / 1.125 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008543/1.042, allocations: 194.5 kB / 1.125 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.043, allocations: 0.7147 MB / 1.126 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.657e-05/1.043, allocations: 69.95 kB / 1.126 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.043, allocations: 80 kB / 1.126 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/1.045, allocations: 0.9144 MB / 1.127 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/1.045, allocations: 0 / 1.127 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.02e-05/1.045, allocations: 40 kB / 1.127 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/1.045, allocations: 20 kB / 1.127 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/1.046, allocations: 1.104 MB / 1.128 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/1.05, allocations: 2.531 MB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/1.052, allocations: 0.7987 MB / 1.131 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/1.052, allocations: 294.7 kB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-05/1.052, allocations: 32.69 kB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008881/1.053, allocations: 487.2 kB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 4.799e-06/1.053, allocations: 3.938 kB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.002987/1.056, allocations: 1.198 MB / 1.133 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.056, allocations: 196.5 kB / 1.133 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008627/1.057, allocations: 0.6254 MB / 1.134 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/1.057, allocations: 41.7 kB / 1.134 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/1.058, allocations: 392.3 kB / 1.134 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.058, allocations: 260.3 kB / 1.135 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/1.058, allocations: 19.94 kB / 1.135 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.058, allocations: 390.7 kB / 1.135 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/1.059, allocations: 249.9 kB / 1.135 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/1.059, allocations: 350.6 kB / 1.135 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/1.06, allocations: 290.9 kB / 1.136 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/1.06, allocations: 0 / 1.136 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001658/1.061, allocations: 0.8019 MB / 1.137 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.061, allocations: 5.562 kB / 1.137 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.061, allocations: 12.02 kB / 1.137 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005617/1.062, allocations: 80.77 kB / 1.137 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/1.063, allocations: 151.8 kB / 1.137 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/1.065, allocations: 1.52 MB / 1.138 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/1.065, allocations: 105.7 kB / 1.138 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/1.066, allocations: 27.98 kB / 1.138 GB, free: 4.273 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.00051/1.066, allocations: 265.7 kB / 1.139 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/1.066, allocations: 79.06 kB / 1.139 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/1.068, allocations: 1.081 MB / 1.14 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.068, allocations: 8 kB / 1.14 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.068, allocations: 0 / 1.14 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.069, allocations: 3.984 kB / 1.14 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.07, allocations: 0.8957 MB / 1.141 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.07, allocations: 0 / 1.141 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/1.07, allocations: 147.8 kB / 1.141 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/1.071, allocations: 84.77 kB / 1.141 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/1.071, allocations: 23.98 kB / 1.141 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/1.072, allocations: 1.548 MB / 1.142 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.072, allocations: 0 / 1.142 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.074, allocations: 0.9277 MB / 1.143 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/1.075, allocations: 291.6 kB / 1.144 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.075, allocations: 16.06 kB / 1.144 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/1.075, allocations: 85.67 kB / 1.144 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.075, allocations: 72.86 kB / 1.144 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/1.076, allocations: 35.97 kB / 1.144 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000574/1.076, allocations: 451 kB / 1.144 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/1.076, allocations: 0 / 1.144 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008428/1.077, allocations: 303.3 kB / 1.145 GB, free: 13.74 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003454/1.08, allocations: 1.979 MB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00161/1.082, allocations: 0.7922 MB / 1.147 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.082, allocations: 4 kB / 1.147 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/1.083, allocations: 0.5122 MB / 1.148 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.084, allocations: 255.1 kB / 1.148 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009623/1.094, allocations: 5.071 MB / 1.153 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.094, allocations: 1.012 MB / 1.154 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009029/1.095, allocations: 266.5 kB / 1.154 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/1.096, allocations: 385.2 kB / 1.155 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.096, allocations: 0 / 1.155 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04324/1.139, allocations: 21 MB / 1.175 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/1.139, allocations: 308.9 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.408/3.547, allocations: 0 / 1.175 GB, free: 14.59 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat