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.0008283/0.0008283, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008309/0.000831, allocations: 177.3 kB / 15.95 MB, free: 216 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.196/1.196, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.176/2.176, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5111, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00178/0.5129, allocations: 1.737 MB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003187/0.5161, allocations: 3.348 MB / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.287e-05/0.5162, allocations: 0 / 0.9858 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.5164, allocations: 43.75 kB / 0.9859 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002644/0.5166, allocations: 131.6 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.5169, allocations: 119.7 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.5171, allocations: 195.6 kB / 0.9863 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5172, allocations: 44.89 kB / 0.9863 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.5174, allocations: 115.6 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.5176, allocations: 131.4 kB / 0.9866 GB, free: 404 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.5176, allocations: 12 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.5178, allocations: 103.9 kB / 0.9867 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.5178, allocations: 43.81 kB / 0.9867 GB, free: 244 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.5179, allocations: 69.52 kB / 0.9868 GB, free: 168 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.5181, allocations: 227.4 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.5181, allocations: 0 / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5181, allocations: 0 / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5182, allocations: 0 / 0.987 GB, free: 15.94 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.001013/0.5192, allocations: 0.6231 MB / 0.9876 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.5192, allocations: 8.031 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.5193, allocations: 42.56 kB / 0.9877 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.5201, allocations: 159.4 kB / 0.9878 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.5208, allocations: 327.2 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5208, allocations: 12.12 kB / 0.9881 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.5208, allocations: 7.953 kB / 0.9882 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006138/0.5214, allocations: 255 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5214, allocations: 0 / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.5215, allocations: 4 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5215, allocations: 4 kB / 0.9884 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009461/0.5224, allocations: 336.3 kB / 0.9887 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.5236, allocations: 0.5944 MB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.5241, allocations: 198.5 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.5248, allocations: 0.5805 MB / 0.9901 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5249, allocations: 34.56 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.5249, allocations: 4 kB / 0.9901 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.001602/0.5265, allocations: 0.5636 MB / 0.9906 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.5265, allocations: 55.41 kB / 0.9907 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.5268, allocations: 264.5 kB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5268, allocations: 25.7 kB / 0.991 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.312e-05/0.5269, allocations: 152 kB / 0.9911 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.527, allocations: 43.3 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.527, allocations: 8 kB / 0.9912 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5271, allocations: 334.8 kB / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.5276, allocations: 175.9 kB / 0.9917 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.5281, allocations: 185.1 kB / 0.9918 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.5286, allocations: 177.3 kB / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5286, allocations: 0 / 0.992 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001087/0.5297, allocations: 429 kB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5298, allocations: 4 kB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5298, allocations: 0 / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5298, allocations: 3.953 kB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5302, allocations: 83.86 kB / 0.9925 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5302, allocations: 0 / 0.9925 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.5305, allocations: 63.84 kB / 0.9926 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.5306, allocations: 7.984 kB / 0.9926 GB, free: 9.914 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.0001201/0.5307, allocations: 129.8 kB / 0.9927 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.5307, allocations: 23.7 kB / 0.9927 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.5319, allocations: 446.2 kB / 0.9931 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5319, allocations: 8 kB / 0.9931 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5319, allocations: 7.953 kB / 0.9932 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5319, allocations: 3.984 kB / 0.9932 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.5322, allocations: 301.4 kB / 0.9934 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5322, allocations: 0 / 0.9934 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.5326, allocations: 75.92 kB / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5326, allocations: 0 / 0.9935 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.5327, allocations: 11.92 kB / 0.9935 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5327, allocations: 3.953 kB / 0.9935 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5327, allocations: 0 / 0.9935 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.5338, allocations: 0.495 MB / 0.994 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5339, allocations: 116.8 kB / 0.9941 GB, free: 8.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.5339, allocations: 8 kB / 0.9941 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.5343, allocations: 47.95 kB / 0.9942 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.5343, allocations: 23.92 kB / 0.9942 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.5344, allocations: 7.984 kB / 0.9942 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001395/0.5345, allocations: 183.1 kB / 0.9944 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5345, allocations: 0 / 0.9944 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003334/0.5349, allocations: 71.94 kB / 0.9945 GB, free: 7.887 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.001491/0.5364, allocations: 1.071 MB / 0.9955 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.5374, allocations: 379.8 kB / 0.9959 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5374, allocations: 4 kB / 0.9959 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.538, allocations: 199.8 kB / 0.9961 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.5383, allocations: 30.34 kB / 0.9961 GB, free: 6.188 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.5396, allocations: 0.8602 MB / 0.9969 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.5399, allocations: 0.7555 MB / 0.9977 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002355/0.5401, allocations: 45.39 kB / 0.9977 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.5403, allocations: 79.39 kB / 0.9978 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.5403, allocations: 0 / 0.9978 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9062/1.446, allocations: 5.16 MB / 1.003 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.447, allocations: 204.7 kB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/4.863, allocations: 3.938 kB / 1.003 GB, free: 15.19 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