Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001047/0.001047, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001353/0.001353, allocations: 168.7 kB / 15.95 MB, free: 204 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.475/1.475, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.546/2.546, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003835, allocations: 11.94 kB / 0.8378 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8586, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002287/0.8609, allocations: 1.78 MB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004133/0.8651, allocations: 3.534 MB / 0.9863 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.8652, allocations: 0 / 0.9863 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.8655, allocations: 47.73 kB / 0.9864 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.8658, allocations: 107.3 kB / 0.9865 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.8661, allocations: 123.7 kB / 0.9866 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.8665, allocations: 270.9 kB / 0.9869 GB, free: 400 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.8666, allocations: 48.89 kB / 0.9869 GB, free: 352 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.8668, allocations: 111.6 kB / 0.987 GB, free: 240 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.867, allocations: 131.4 kB / 0.9871 GB, free: 108 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.867, allocations: 12 kB / 0.9871 GB, free: 96 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.8673, allocations: 119.8 kB / 0.9873 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.8673, allocations: 43.77 kB / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.8674, allocations: 65.52 kB / 0.9874 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.8677, allocations: 219.5 kB / 0.9876 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8677, allocations: 4 kB / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8677, allocations: 0 / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8677, allocations: 4 kB / 0.9876 GB, free: 15.64 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00112/0.8688, allocations: 0.6284 MB / 0.9882 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8689, allocations: 8.031 kB / 0.9882 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.8689, allocations: 42.55 kB / 0.9882 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.8697, allocations: 155.4 kB / 0.9884 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.8704, allocations: 323.2 kB / 0.9887 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.8704, allocations: 12.19 kB / 0.9887 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.8704, allocations: 15.95 kB / 0.9887 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.8711, allocations: 251 kB / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.8711, allocations: 0 / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.8711, allocations: 4 kB / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.8711, allocations: 4 kB / 0.989 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.872, allocations: 332.3 kB / 0.9893 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.8733, allocations: 0.5983 MB / 0.9899 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.8738, allocations: 206.4 kB / 0.9901 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/0.8743, allocations: 188.7 kB / 0.9903 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007868/0.8751, allocations: 0.5689 MB / 0.9908 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.8751, allocations: 38.55 kB / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.8751, allocations: 0 / 0.9908 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.001569/0.8767, allocations: 0.5714 MB / 0.9914 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.8767, allocations: 55.41 kB / 0.9915 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.877, allocations: 256.6 kB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.877, allocations: 29.7 kB / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.8771, allocations: 152 kB / 0.9919 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.8772, allocations: 47.25 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.8772, allocations: 7.938 kB / 0.9919 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8773, allocations: 342.8 kB / 0.9923 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004707/0.8778, allocations: 167.9 kB / 0.9924 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.8783, allocations: 181.3 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.8788, allocations: 177 kB / 0.9928 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8788, allocations: 0 / 0.9928 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001047/0.8798, allocations: 422.5 kB / 0.9932 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8798, allocations: 12 kB / 0.9932 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8799, allocations: 0 / 0.9932 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.8799, allocations: 7.891 kB / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.8803, allocations: 91.84 kB / 0.9933 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8803, allocations: 0 / 0.9933 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.8806, allocations: 51.86 kB / 0.9933 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.8807, allocations: 15.98 kB / 0.9933 GB, free: 9.418 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.8808, allocations: 125.8 kB / 0.9934 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.8809, allocations: 31.62 kB / 0.9935 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.882, allocations: 447.2 kB / 0.9939 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.882, allocations: 3.953 kB / 0.9939 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.882, allocations: 4 kB / 0.9939 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.882, allocations: 4 kB / 0.9939 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.8824, allocations: 297.5 kB / 0.9942 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8824, allocations: 0 / 0.9942 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.8827, allocations: 79.91 kB / 0.9943 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8828, allocations: 4 kB / 0.9943 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.8828, allocations: 0 / 0.9943 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.8828, allocations: 3.953 kB / 0.9943 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8828, allocations: 0 / 0.9943 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.8838, allocations: 0.5019 MB / 0.9948 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.884, allocations: 116.8 kB / 0.9949 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.884, allocations: 0 / 0.9949 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.8843, allocations: 59.94 kB / 0.9949 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.8844, allocations: 19.92 kB / 0.995 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.8845, allocations: 4 kB / 0.995 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001687/0.8846, allocations: 191 kB / 0.9951 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.8846, allocations: 0 / 0.9951 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003675/0.885, allocations: 75.92 kB / 0.9952 GB, free: 7.387 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001439/0.8865, allocations: 1.063 MB / 0.9963 GB, free: 6.293 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.8875, allocations: 379.7 kB / 0.9966 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8875, allocations: 0 / 0.9966 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.888, allocations: 191.9 kB / 0.9968 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.8884, allocations: 33.16 kB / 0.9968 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.8918, allocations: 1.862 MB / 0.9987 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.8921, allocations: 0.7515 MB / 0.9994 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.8924, allocations: 49.38 kB / 0.9994 GB, free: 2.969 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.8925, allocations: 74.16 kB / 0.9995 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of SimCode: time 4.398e-06/0.8925, allocations: 0 / 0.9995 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.9082, allocations: 5.223 MB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.9084, allocations: 215 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.776, allocations: 2.344 kB / 1.005 GB, free: 13.64 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat