Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.001273/0.001272, allocations: 86.64 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.001399/0.001399, 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.412/1.412, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.678/2.678, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.0003989, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7433, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002497/0.7458, allocations: 1.666 MB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004508/0.7504, allocations: 3.444 MB / 0.9861 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.7506, allocations: 0 / 0.9861 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.7508, allocations: 43.75 kB / 0.9862 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.7512, allocations: 91.41 kB / 0.9863 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.7516, allocations: 103.8 kB / 0.9864 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.7519, allocations: 223.1 kB / 0.9866 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.752, allocations: 40.5 kB / 0.9866 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.7523, allocations: 99.61 kB / 0.9867 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.7525, allocations: 103.5 kB / 0.9868 GB, free: 404 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.7525, allocations: 8 kB / 0.9868 GB, free: 396 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.7528, allocations: 107.8 kB / 0.9869 GB, free: 288 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.7529, allocations: 35.83 kB / 0.9869 GB, free: 252 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.7529, allocations: 57.58 kB / 0.987 GB, free: 188 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.7532, allocations: 179.6 kB / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7532, allocations: 0 / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7532, allocations: 0 / 0.9872 GB, free: 8 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.7532, allocations: 8 kB / 0.9872 GB, free: 0 / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001099/0.7543, allocations: 0.5724 MB / 0.9877 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7544, allocations: 12.03 kB / 0.9878 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.7545, allocations: 38.56 kB / 0.9878 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.7545, allocations: 27.72 kB / 0.9878 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.755, allocations: 262.5 kB / 0.9881 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.755, allocations: 11.94 kB / 0.9881 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.755, allocations: 7.938 kB / 0.9881 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.7555, allocations: 186.7 kB / 0.9883 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.7555, allocations: 0 / 0.9883 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.7556, allocations: 12 kB / 0.9883 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.7556, allocations: 7.953 kB / 0.9883 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.7562, allocations: 235.8 kB / 0.9885 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.7571, allocations: 496.5 kB / 0.989 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.7575, allocations: 142.5 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.7578, allocations: 136.8 kB / 0.9892 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007973/0.7586, allocations: 0.5766 MB / 0.9898 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.7587, allocations: 38.56 kB / 0.9898 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/0.7587, allocations: 0 / 0.9898 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.001115/0.7598, allocations: 421.2 kB / 0.9902 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.7598, allocations: 51.41 kB / 0.9903 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.76, allocations: 234.7 kB / 0.9905 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.7601, allocations: 25.7 kB / 0.9905 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7602, allocations: 136.1 kB / 0.9907 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.7602, allocations: 35.47 kB / 0.9907 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.7603, allocations: 4 kB / 0.9907 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.7604, allocations: 334.8 kB / 0.991 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.7607, allocations: 119.9 kB / 0.9911 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.761, allocations: 115.9 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.7613, allocations: 115.9 kB / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7614, allocations: 0 / 0.9914 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007334/0.7621, allocations: 305.1 kB / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7621, allocations: 4 kB / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7621, allocations: 0 / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7622, allocations: 0 / 0.9917 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.7625, allocations: 59.94 kB / 0.9917 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7625, allocations: 3.938 kB / 0.9917 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.7627, allocations: 51.8 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.7627, allocations: 4 kB / 0.9918 GB, free: 10.95 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 (11): * Single equations (assignments): 11 * 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.0001223/0.7628, allocations: 129.7 kB / 0.9919 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.7629, allocations: 15.81 kB / 0.9919 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000833/0.7637, allocations: 327.1 kB / 0.9922 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7637, allocations: 4 kB / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7638, allocations: 0 / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7638, allocations: 0 / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.7641, allocations: 281.4 kB / 0.9925 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7641, allocations: 0 / 0.9925 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.7644, allocations: 59.88 kB / 0.9926 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7644, allocations: 4 kB / 0.9926 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.7644, allocations: 4 kB / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.7644, allocations: 0 / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7644, allocations: 0 / 0.9926 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007528/0.7652, allocations: 407.8 kB / 0.993 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.867e-05/0.7653, allocations: 112.7 kB / 0.9931 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.7653, allocations: 7.984 kB / 0.9931 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.7656, allocations: 35.97 kB / 0.9931 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.7657, allocations: 15.98 kB / 0.9931 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.7657, allocations: 7.984 kB / 0.9931 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000165/0.7658, allocations: 166 kB / 0.9933 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7658, allocations: 0 / 0.9933 GB, free: 9.312 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003203/0.7662, allocations: 59.98 kB / 0.9933 GB, free: 9.254 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 (11): * Single equations (assignments): 11 * 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.001181/0.7674, allocations: 0.9697 MB / 0.9943 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007164/0.7681, allocations: 259.7 kB / 0.9945 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7681, allocations: 0 / 0.9945 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.7685, allocations: 131.9 kB / 0.9947 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.7689, allocations: 36.52 kB / 0.9947 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.7716, allocations: 1.481 MB / 0.9961 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.7719, allocations: 0.7355 MB / 0.9969 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.7722, allocations: 36.86 kB / 0.9969 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.7723, allocations: 67.33 kB / 0.997 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.7723, allocations: 0 / 0.997 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.7892, allocations: 4.388 MB / 1.001 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.7894, allocations: 211.1 kB / 1.001 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.624, allocations: 0 / 1.001 GB, free: 1.031 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat