Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",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.001061/0.001061, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 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.301/1.301, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.376/2.376, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003113, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5626, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001565/0.5642, allocations: 1.227 MB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.5648, allocations: 403.4 kB / 0.9827 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.5649, allocations: 3.938 kB / 0.9827 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.5649, allocations: 3.984 kB / 0.9827 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.565, allocations: 3.938 kB / 0.9827 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.5651, allocations: 15.98 kB / 0.9827 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.5652, allocations: 43.8 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.5653, allocations: 27.95 kB / 0.9828 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.2e-05/0.5654, allocations: 15.94 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.5654, allocations: 15.91 kB / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.5654, allocations: 0 / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-06/0.5655, allocations: 7.938 kB / 0.9828 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.5655, allocations: 7.938 kB / 0.9828 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.5655, allocations: 29.7 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.169e-05/0.5656, allocations: 27.94 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5656, allocations: 4 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5656, allocations: 0 / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.5656, allocations: 4 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004114/0.566, allocations: 357.4 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5661, allocations: 12.03 kB / 0.9833 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.5661, allocations: 34.56 kB / 0.9833 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.352e-05/0.5661, allocations: 7.906 kB / 0.9833 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.5662, allocations: 171 kB / 0.9835 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5663, allocations: 4 kB / 0.9835 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.5663, allocations: 4 kB / 0.9835 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.5665, allocations: 69.61 kB / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.5665, allocations: 0 / 0.9835 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.5665, allocations: 4 kB / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.5665, allocations: 0 / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.5667, allocations: 55.91 kB / 0.9836 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.5671, allocations: 296.7 kB / 0.9839 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.5674, allocations: 78.53 kB / 0.984 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.5675, allocations: 28.91 kB / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5675, allocations: 0 / 0.984 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5675, allocations: 38.5 kB / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.5676, allocations: 0 / 0.984 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003263/0.5679, allocations: 89.66 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.5679, allocations: 51.41 kB / 0.9842 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.568, allocations: 133.7 kB / 0.9843 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.5681, allocations: 25.7 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.5681, allocations: 96.05 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.5681, allocations: 3.906 kB / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.5681, allocations: 0 / 0.9844 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5683, allocations: 322.8 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.5684, allocations: 19.98 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.5685, allocations: 24.11 kB / 0.9848 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.5686, allocations: 32.02 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5686, allocations: 0 / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002035/0.5688, allocations: 81.58 kB / 0.9849 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.5688, allocations: 7.938 kB / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5688, allocations: 0 / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.5688, allocations: 0 / 0.9849 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.5689, allocations: 15.98 kB / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5689, allocations: 0 / 0.9849 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.28e-05/0.569, allocations: 11.94 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.569, allocations: 3.984 kB / 0.9849 GB, free: 2.152 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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 7.595e-05/0.5691, allocations: 121.8 kB / 0.985 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.5691, allocations: 4 kB / 0.985 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.5691, allocations: 7.906 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.5691, allocations: 0 / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5692, allocations: 0 / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5692, allocations: 0 / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.5693, allocations: 181.5 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5694, allocations: 3.953 kB / 0.9852 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.5695, allocations: 15.98 kB / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5695, allocations: 0 / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.5695, allocations: 0 / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5695, allocations: 0 / 0.9852 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5695, allocations: 4 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.5697, allocations: 167.5 kB / 0.9854 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.5698, allocations: 88.95 kB / 0.9855 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.5698, allocations: 4 kB / 0.9855 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.5699, allocations: 11.94 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.5699, allocations: 3.984 kB / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5699, allocations: 0 / 0.9855 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.57, allocations: 95.27 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.57, allocations: 0 / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002201/0.5702, allocations: 8 kB / 0.9856 GB, free: 1.352 MB / 0.7325 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 (3): * Single equations (assignments): 3 * 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.0005733/0.5708, allocations: 0.7085 MB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001921/0.571, allocations: 43.97 kB / 0.9863 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.571, allocations: 4 kB / 0.9863 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.5711, allocations: 23.92 kB / 0.9863 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.5714, allocations: 12 kB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.5722, allocations: 0.5027 MB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.5724, allocations: 0.6809 MB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.5725, allocations: 4.516 kB / 0.9875 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.5725, allocations: 19.42 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.5725, allocations: 3.938 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01056/0.5831, allocations: 1.254 MB / 0.9888 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.5833, allocations: 202 kB / 0.989 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.177, allocations: 7.312 kB / 0.989 GB, free: 13.89 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat