Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.001097/0.001097, allocations: 87.03 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.001222/0.001222, 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.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003698, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8962, allocations: 142.3 MB / 0.9539 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002067/0.8983, allocations: 1.569 MB / 0.9554 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.9019, allocations: 3.224 MB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/0.902, allocations: 1.969 kB / 0.9585 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.9022, allocations: 39.38 kB / 0.9586 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.9026, allocations: 123.6 kB / 0.9587 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.385e-05/0.9027, allocations: 19.09 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.9029, allocations: 162.7 kB / 0.9589 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.903, allocations: 19.16 kB / 0.9589 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.9032, allocations: 76.81 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.9033, allocations: 76.45 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.9033, allocations: 3.625 kB / 0.959 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-05/0.9034, allocations: 20.52 kB / 0.9591 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.9035, allocations: 29.97 kB / 0.9591 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.9035, allocations: 56.67 kB / 0.9591 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.9037, allocations: 114.9 kB / 0.9592 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9037, allocations: 3.938 kB / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9037, allocations: 0 / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.9037, allocations: 0 / 0.9592 GB, free: 3.824 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006693/0.9044, allocations: 496.8 kB / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9044, allocations: 9.625 kB / 0.9597 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.933e-05/0.9045, allocations: 33.31 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.9045, allocations: 16.06 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.9048, allocations: 239.8 kB / 0.96 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.9048, allocations: 5.375 kB / 0.96 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.9048, allocations: 6.688 kB / 0.96 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.9051, allocations: 155.3 kB / 0.9602 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.9052, allocations: 3.984 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9052, allocations: 3.953 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.9052, allocations: 12.16 kB / 0.9602 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.9056, allocations: 151.8 kB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.9062, allocations: 443.6 kB / 0.9608 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.9066, allocations: 174 kB / 0.9609 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.9068, allocations: 115.7 kB / 0.961 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.9069, allocations: 4.828 kB / 0.961 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.9069, allocations: 32.53 kB / 0.9611 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.9069, allocations: 0 / 0.9611 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007668/0.9077, allocations: 310.7 kB / 0.9614 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.9077, allocations: 56.89 kB / 0.9614 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.9079, allocations: 208.2 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.9079, allocations: 26.7 kB / 0.9616 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.908, allocations: 123.9 kB / 0.9618 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.908, allocations: 40.45 kB / 0.9618 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.908, allocations: 1.094 kB / 0.9618 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.9081, allocations: 330.9 kB / 0.9621 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.9083, allocations: 81.58 kB / 0.9622 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.9085, allocations: 81.34 kB / 0.9623 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.9088, allocations: 80.22 kB / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9088, allocations: 0 / 0.9623 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/0.9093, allocations: 228.6 kB / 0.9626 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.9093, allocations: 9.094 kB / 0.9626 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9093, allocations: 4.781 kB / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9093, allocations: 1 kB / 0.9626 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.9096, allocations: 39.67 kB / 0.9626 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9096, allocations: 0 / 0.9626 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.9097, allocations: 24.55 kB / 0.9626 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.9097, allocations: 10.78 kB / 0.9626 GB, free: 1.156 MB / 0.7169 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 (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 prepare postOptimizeDAE: time 8.526e-05/0.9098, allocations: 126.8 kB / 0.9628 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.9099, allocations: 28.67 kB / 0.9628 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.9099, allocations: 25.58 kB / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.9099, allocations: 2.562 kB / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.91, allocations: 0 / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.91, allocations: 0 / 0.9628 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.9102, allocations: 259.8 kB / 0.9631 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.9102, allocations: 7.938 kB / 0.9631 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.9104, allocations: 35.38 kB / 0.9631 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.9104, allocations: 5.047 kB / 0.9631 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.9104, allocations: 5.031 kB / 0.9631 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.9105, allocations: 4.984 kB / 0.9631 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.9105, allocations: 0.9688 kB / 0.9631 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.911, allocations: 328.2 kB / 0.9634 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.9111, allocations: 107.2 kB / 0.9635 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.9111, allocations: 5.266 kB / 0.9635 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.9113, allocations: 22.78 kB / 0.9636 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.9113, allocations: 12.05 kB / 0.9636 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.9114, allocations: 3.219 kB / 0.9636 GB, free: 352 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001107/0.9115, allocations: 154.2 kB / 0.9637 GB, free: 236 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9115, allocations: 4 kB / 0.9637 GB, free: 232 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002763/0.9118, allocations: 38.16 kB / 0.9638 GB, free: 224 kB / 0.7169 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.0008701/0.9126, allocations: 0.8543 MB / 0.9646 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.9131, allocations: 183.5 kB / 0.9648 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9131, allocations: 1.25 kB / 0.9648 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.9134, allocations: 105.1 kB / 0.9649 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.9138, allocations: 28.83 kB / 0.9649 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.9159, allocations: 1.268 MB / 0.9661 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.9162, allocations: 0.7239 MB / 0.9669 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.9164, allocations: 49.95 kB / 0.9669 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.9165, allocations: 50.08 kB / 0.967 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.9165, allocations: 4.938 kB / 0.967 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.9308, allocations: 3.365 MB / 0.9702 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.931, allocations: 208.4 kB / 0.9704 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.638, allocations: 0 / 0.9704 GB, free: 11.93 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat