Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.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.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",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.0009147/0.0009147, allocations: 99.62 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.0009069/0.0009068, 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.412/2.412, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003286, allocations: 16 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.742, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00153/0.7436, allocations: 1.313 MB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.7452, allocations: 1.251 MB / 0.9561 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.7454, allocations: 7.594 kB / 0.9561 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.7457, allocations: 72.3 kB / 0.9562 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.611e-05/0.7458, allocations: 59.28 kB / 0.9562 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.7465, allocations: 201.6 kB / 0.9564 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.7466, allocations: 111.2 kB / 0.9565 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.7467, allocations: 10.86 kB / 0.9565 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.7468, allocations: 75.95 kB / 0.9566 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.7469, allocations: 59.55 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.7469, allocations: 5.938 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.7474, allocations: 272.7 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.7475, allocations: 61.56 kB / 0.957 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.7475, allocations: 59.48 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.7478, allocations: 264.5 kB / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.7478, allocations: 0 / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7479, allocations: 0 / 0.9573 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7479, allocations: 0 / 0.9573 GB, free: 5.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007534/0.7486, allocations: 0.5396 MB / 0.9578 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7487, allocations: 9.688 kB / 0.9578 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.7487, allocations: 32.5 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.7488, allocations: 23.11 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.7491, allocations: 270.5 kB / 0.9581 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.7492, allocations: 67.42 kB / 0.9582 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.7492, allocations: 3.281 kB / 0.9582 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7494, allocations: 88.91 kB / 0.9583 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.7494, allocations: 8 kB / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.7494, allocations: 0 / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7495, allocations: 5.453 kB / 0.9583 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.7497, allocations: 106.6 kB / 0.9584 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.7499, allocations: 250.6 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.7512, allocations: 339.7 kB / 0.959 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.7513, allocations: 104.2 kB / 0.9591 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.7514, allocations: 35.88 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7514, allocations: 0 / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000481/0.7519, allocations: 216.5 kB / 0.9593 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.7519, allocations: 51.41 kB / 0.9594 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.7521, allocations: 306.6 kB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.7522, allocations: 26.73 kB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.7522, allocations: 123.6 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.7523, allocations: 18.38 kB / 0.9598 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.7523, allocations: 4.719 kB / 0.9598 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.06e-05/0.7523, allocations: 332.8 kB / 0.9601 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.7526, allocations: 158.2 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7528, allocations: 166.7 kB / 0.9605 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.7531, allocations: 167.1 kB / 0.9606 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7531, allocations: 0 / 0.9606 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000563/0.7536, allocations: 400.8 kB / 0.961 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7537, allocations: 5.469 kB / 0.961 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.7537, allocations: 1.969 kB / 0.961 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.7537, allocations: 4.969 kB / 0.961 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.7538, allocations: 16.45 kB / 0.961 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7538, allocations: 0 / 0.961 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.754, allocations: 33.03 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.754, allocations: 14.27 kB / 0.9611 GB, free: 2.531 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.358e-05/0.7541, allocations: 142.8 kB / 0.9612 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.7541, allocations: 19.34 kB / 0.9612 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.7545, allocations: 164.4 kB / 0.9614 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7545, allocations: 5.312 kB / 0.9614 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7545, allocations: 0 / 0.9614 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7545, allocations: 0 / 0.9614 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7547, allocations: 238.8 kB / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.7547, allocations: 0 / 0.9616 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.7548, allocations: 15.89 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.7548, allocations: 0.8438 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7548, allocations: 1.125 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.7548, allocations: 1.156 kB / 0.9616 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7548, allocations: 8.234 kB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.7551, allocations: 198 kB / 0.9618 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.7552, allocations: 101.5 kB / 0.9619 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.7552, allocations: 4 kB / 0.9619 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.7553, allocations: 8.844 kB / 0.9619 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.7554, allocations: 6.047 kB / 0.9619 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.7554, allocations: 2.25 kB / 0.9619 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000156/0.7555, allocations: 195.2 kB / 0.9621 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7555, allocations: 0 / 0.9621 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004574/0.756, allocations: 118.6 kB / 0.9622 GB, free: 1.645 MB / 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 (6): * Single equations (assignments): 6 * 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.0006659/0.7567, allocations: 0.8009 MB / 0.963 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.7572, allocations: 362.6 kB / 0.9634 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7572, allocations: 3.938 kB / 0.9634 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.7573, allocations: 64.47 kB / 0.9634 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.7576, allocations: 38.31 kB / 0.9635 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.7584, allocations: 0.694 MB / 0.9641 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.7587, allocations: 0.7407 MB / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.649e-05/0.7588, allocations: 26.88 kB / 0.9649 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/0.7589, allocations: 58.69 kB / 0.965 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7589, allocations: 0 / 0.965 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.7748, allocations: 5.019 MB / 0.9699 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.775, allocations: 203.8 kB / 0.97 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.577, allocations: 1.062 kB / 0.97 GB, free: 12.8 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat does not exist to compare? outputFormat=mat