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/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.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/Buildings 10.0.0-master/package.mo): time 2.208/2.208, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001253/0.001253, allocations: 172.8 kB / 496.1 MB, free: 12.87 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.561/1.561, 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.001059/0.001059, allocations: 95.91 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.488e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.567/4.837, allocations: 1.732 GB / 2.951 GB, free: 104 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/4.837, allocations: 87.94 kB / 2.951 GB, free: 103.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1241/4.962, allocations: 58.77 MB / 3.008 GB, free: 44.86 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.974e-06/4.962, allocations: 0 / 3.008 GB, free: 44.86 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.417e-05/4.962, allocations: 20 kB / 3.008 GB, free: 44.84 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001694/4.963, allocations: 1.067 MB / 3.009 GB, free: 43.73 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/4.963, allocations: 8.031 kB / 3.009 GB, free: 43.72 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/4.964, allocations: 130.9 kB / 3.009 GB, free: 43.58 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/4.964, allocations: 174.6 kB / 3.009 GB, free: 43.41 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/4.965, allocations: 0.6115 MB / 3.01 GB, free: 42.76 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/4.965, allocations: 58 kB / 3.01 GB, free: 42.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.019e-05/4.965, allocations: 72 kB / 3.01 GB, free: 42.63 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/4.967, allocations: 0.817 MB / 3.011 GB, free: 41.77 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/4.967, allocations: 7.891 kB / 3.011 GB, free: 41.77 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/4.967, allocations: 39.98 kB / 3.011 GB, free: 41.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/4.967, allocations: 20 kB / 3.011 GB, free: 41.71 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/4.968, allocations: 1.011 MB / 3.012 GB, free: 40.69 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/4.971, allocations: 2.39 MB / 3.014 GB, free: 38.23 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/4.972, allocations: 0.6767 MB / 3.015 GB, free: 37.54 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/4.972, allocations: 254.5 kB / 3.015 GB, free: 37.29 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/4.972, allocations: 32.61 kB / 3.015 GB, free: 37.26 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/4.973, allocations: 409 kB / 3.016 GB, free: 36.84 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 2.244e-06/4.973, allocations: 0 / 3.016 GB, free: 36.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.001434/4.974, allocations: 0.668 MB / 3.016 GB, free: 36.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/4.974, allocations: 252.1 kB / 3.016 GB, free: 35.86 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/4.975, allocations: 0.5776 MB / 3.017 GB, free: 35.27 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/4.975, allocations: 41.7 kB / 3.017 GB, free: 35.23 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/4.975, allocations: 372.3 kB / 3.017 GB, free: 34.86 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/4.975, allocations: 232.6 kB / 3.018 GB, free: 34.62 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/4.975, allocations: 16 kB / 3.018 GB, free: 34.61 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001011/4.976, allocations: 374.8 kB / 3.018 GB, free: 34.23 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/4.976, allocations: 193.5 kB / 3.018 GB, free: 34.05 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/4.976, allocations: 305.1 kB / 3.019 GB, free: 33.72 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/4.977, allocations: 242 kB / 3.019 GB, free: 33.48 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/4.977, allocations: 4 kB / 3.019 GB, free: 33.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001262/4.978, allocations: 0.6836 MB / 3.019 GB, free: 32.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/4.978, allocations: 4 kB / 3.019 GB, free: 32.78 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/4.978, allocations: 8.062 kB / 3.019 GB, free: 32.77 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000559/4.978, allocations: 76.78 kB / 3.019 GB, free: 32.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/4.979, allocations: 139.8 kB / 3.02 GB, free: 32.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/4.981, allocations: 1.508 MB / 3.021 GB, free: 30.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/4.981, allocations: 91.38 kB / 3.021 GB, free: 30.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/4.981, allocations: 23.98 kB / 3.021 GB, free: 30.8 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 (74): * Single equations (assignments): 73 * 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.0001524/4.981, allocations: 148.4 kB / 3.021 GB, free: 30.65 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/4.981, allocations: 79 kB / 3.021 GB, free: 30.57 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/4.983, allocations: 0.9263 MB / 3.022 GB, free: 29.63 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/4.983, allocations: 8 kB / 3.022 GB, free: 29.62 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/4.983, allocations: 3.984 kB / 3.022 GB, free: 29.62 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/4.983, allocations: 7.938 kB / 3.022 GB, free: 29.61 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/4.984, allocations: 0.8487 MB / 3.023 GB, free: 28.71 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/4.984, allocations: 3.938 kB / 3.023 GB, free: 28.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/4.985, allocations: 139.9 kB / 3.023 GB, free: 28.57 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/4.985, allocations: 88.72 kB / 3.023 GB, free: 28.48 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/4.985, allocations: 19.98 kB / 3.023 GB, free: 28.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/4.987, allocations: 1.536 MB / 3.025 GB, free: 26.78 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/4.987, allocations: 3.953 kB / 3.025 GB, free: 26.78 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/4.988, allocations: 0.7856 MB / 3.026 GB, free: 25.97 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003313/4.988, allocations: 283.7 kB / 3.026 GB, free: 25.67 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/4.988, allocations: 20 kB / 3.026 GB, free: 25.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/4.989, allocations: 60.09 kB / 3.026 GB, free: 25.59 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/4.989, allocations: 64.67 kB / 3.026 GB, free: 25.53 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/4.989, allocations: 31.98 kB / 3.026 GB, free: 25.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004956/4.99, allocations: 479.1 kB / 3.027 GB, free: 25.04 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.99, allocations: 0 / 3.027 GB, free: 25.04 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001058/4.991, allocations: 351.2 kB / 3.027 GB, free: 24.7 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 (82): * Single equations (assignments): 79 * 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.003289/4.994, allocations: 2.247 MB / 3.029 GB, free: 22.57 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001142/4.995, allocations: 0.6787 MB / 3.03 GB, free: 21.87 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/4.995, allocations: 4.125 kB / 3.03 GB, free: 21.87 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006167/4.996, allocations: 459 kB / 3.03 GB, free: 21.41 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/4.997, allocations: 240.7 kB / 3.03 GB, free: 21.18 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/5, allocations: 1.517 MB / 3.032 GB, free: 19.62 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/5.001, allocations: 1.009 MB / 3.033 GB, free: 18.59 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007593/5.001, allocations: 254 kB / 3.033 GB, free: 18.34 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/5.002, allocations: 343.3 kB / 3.033 GB, free: 18 MB / 1.167 GB Notification: Performance of SimCode: time 3.5e-07/5.002, allocations: 0 / 3.033 GB, free: 18 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7922/5.794, allocations: 30.64 MB / 3.063 GB, free: 397.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/5.794, allocations: 263.4 kB / 3.064 GB, free: 397 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/9.172, allocations: 0 / 3.064 GB, free: 397 MB / 1.167 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) 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