Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.325/2.325, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001309/0.001309, allocations: 165 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009639/0.0009639, allocations: 87.95 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.288e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.125/4.417, allocations: 1.732 GB / 2.951 GB, free: 81.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/4.417, allocations: 93.39 kB / 2.951 GB, free: 81.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1693/4.586, allocations: 80.5 MB / 3.03 GB, free: 0.793 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.026e-06/4.586, allocations: 0 / 3.03 GB, free: 0.793 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001647/4.587, allocations: 39.94 kB / 3.03 GB, free: 0.7539 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.5653/5.152, allocations: 1.257 MB / 3.031 GB, free: 398.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.152, allocations: 9 kB / 3.031 GB, free: 398.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003976/5.152, allocations: 171.8 kB / 3.031 GB, free: 398.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/5.154, allocations: 223.1 kB / 3.032 GB, free: 398.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/5.155, allocations: 0.7137 MB / 3.032 GB, free: 398.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/5.155, allocations: 84.5 kB / 3.032 GB, free: 398.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/5.155, allocations: 113.5 kB / 3.032 GB, free: 398.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/5.157, allocations: 1.091 MB / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/5.157, allocations: 0 / 3.033 GB, free: 398.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/5.157, allocations: 47.59 kB / 3.034 GB, free: 398.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/5.157, allocations: 36.36 kB / 3.034 GB, free: 398.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/5.159, allocations: 1.187 MB / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/5.165, allocations: 3.061 MB / 3.038 GB, free: 397.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/5.166, allocations: 0.7436 MB / 3.038 GB, free: 397.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/5.166, allocations: 276.8 kB / 3.039 GB, free: 397.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-05/5.166, allocations: 34.94 kB / 3.039 GB, free: 397.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/5.167, allocations: 428 kB / 3.039 GB, free: 397.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/5.167, allocations: 0 / 3.039 GB, free: 397.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.002061/5.169, allocations: 0.7343 MB / 3.04 GB, free: 397.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/5.169, allocations: 246.5 kB / 3.04 GB, free: 397 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/5.171, allocations: 0.6646 MB / 3.041 GB, free: 396.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.693e-05/5.171, allocations: 41.77 kB / 3.041 GB, free: 396.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/5.171, allocations: 0.4959 MB / 3.041 GB, free: 396.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/5.171, allocations: 260.4 kB / 3.042 GB, free: 396.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/5.171, allocations: 14.03 kB / 3.042 GB, free: 396.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/5.171, allocations: 332.2 kB / 3.042 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/5.172, allocations: 219.9 kB / 3.042 GB, free: 396.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/5.172, allocations: 334.5 kB / 3.042 GB, free: 396.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/5.173, allocations: 266.6 kB / 3.043 GB, free: 396.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/5.173, allocations: 1 kB / 3.043 GB, free: 396.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002001/5.175, allocations: 0.7518 MB / 3.043 GB, free: 396 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/5.175, allocations: 4.438 kB / 3.043 GB, free: 396 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/5.175, allocations: 5.641 kB / 3.043 GB, free: 396 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/5.175, allocations: 84.62 kB / 3.043 GB, free: 396 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006893/5.176, allocations: 147 kB / 3.044 GB, free: 396 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/5.178, allocations: 1.516 MB / 3.045 GB, free: 394.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/5.179, allocations: 88.23 kB / 3.045 GB, free: 394.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/5.179, allocations: 30.53 kB / 3.045 GB, free: 394.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001722/5.179, allocations: 146.5 kB / 3.045 GB, free: 394.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/5.179, allocations: 92.25 kB / 3.045 GB, free: 394.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/5.182, allocations: 1.001 MB / 3.046 GB, free: 394.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/5.182, allocations: 12.72 kB / 3.046 GB, free: 394.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/5.182, allocations: 3.5 kB / 3.046 GB, free: 394.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/5.182, allocations: 5.016 kB / 3.046 GB, free: 394.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/5.183, allocations: 1.005 MB / 3.047 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/5.183, allocations: 2.188 kB / 3.047 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/5.184, allocations: 152 kB / 3.048 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/5.184, allocations: 81.78 kB / 3.048 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/5.184, allocations: 21.92 kB / 3.048 GB, free: 394.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/5.186, allocations: 1.546 MB / 3.049 GB, free: 392.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/5.186, allocations: 1.5 kB / 3.049 GB, free: 392.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/5.188, allocations: 0.8469 MB / 3.05 GB, free: 392.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/5.188, allocations: 294.9 kB / 3.05 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/5.188, allocations: 23.98 kB / 3.05 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/5.189, allocations: 61.83 kB / 3.05 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/5.189, allocations: 67.34 kB / 3.05 GB, free: 392.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/5.189, allocations: 36.42 kB / 3.05 GB, free: 392.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007404/5.19, allocations: 0.5289 MB / 3.051 GB, free: 392.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.7e-07/5.19, allocations: 0 / 3.051 GB, free: 392.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001174/5.191, allocations: 406.8 kB / 3.051 GB, free: 392.5 MB / 1.167 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003712/5.195, allocations: 2.321 MB / 3.054 GB, free: 391.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001366/5.196, allocations: 0.7281 MB / 3.054 GB, free: 391.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/5.196, allocations: 0 / 3.054 GB, free: 391.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007475/5.197, allocations: 493.2 kB / 3.055 GB, free: 391.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/5.198, allocations: 252.8 kB / 3.055 GB, free: 391.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/5.202, allocations: 1.799 MB / 3.057 GB, free: 391.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/5.203, allocations: 1.109 MB / 3.058 GB, free: 390.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009387/5.204, allocations: 273.5 kB / 3.058 GB, free: 390.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/5.205, allocations: 453.7 kB / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.72e-07/5.205, allocations: 0 / 3.059 GB, free: 390.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/5.278, allocations: 32.86 MB / 3.091 GB, free: 388.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/5.279, allocations: 252.9 kB / 3.091 GB, free: 387.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/8.236, allocations: 0 / 3.091 GB, free: 387.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat