Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_9_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.0009981/0.0009983, allocations: 86.09 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.001253/0.001253, 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.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.414 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.277/2.277, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6073, allocations: 142.3 MB / 0.9538 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001302/0.6087, allocations: 1.225 MB / 0.955 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004826/0.6092, allocations: 398 kB / 0.9554 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.6092, allocations: 5 kB / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.6092, allocations: 0 / 0.9554 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.6093, allocations: 9.094 kB / 0.9554 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.6094, allocations: 25.44 kB / 0.9555 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.6095, allocations: 42.5 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.6096, allocations: 6.906 kB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.6097, allocations: 18.45 kB / 0.9555 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.6097, allocations: 25.88 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.6098, allocations: 1.062 kB / 0.9555 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.517e-06/0.6098, allocations: 6 kB / 0.9555 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.6098, allocations: 0.9688 kB / 0.9556 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.6098, allocations: 36.69 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.127e-05/0.6099, allocations: 19.08 kB / 0.9556 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.6099, allocations: 7.938 kB / 0.9556 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6099, allocations: 0 / 0.9556 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.6099, allocations: 0 / 0.9556 GB, free: 6.707 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003427/0.6102, allocations: 363 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6103, allocations: 9.125 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.376e-05/0.6103, allocations: 35.56 kB / 0.956 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.6103, allocations: 7.578 kB / 0.956 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.641e-05/0.6104, allocations: 173.2 kB / 0.9562 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6104, allocations: 2.094 kB / 0.9562 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6105, allocations: 5.938 kB / 0.9562 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.6106, allocations: 70.72 kB / 0.9562 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.6106, allocations: 5.312 kB / 0.9563 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.6107, allocations: 3.938 kB / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6107, allocations: 1.375 kB / 0.9563 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.6108, allocations: 50.05 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.6112, allocations: 296.8 kB / 0.9566 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.6115, allocations: 71.64 kB / 0.9567 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.6115, allocations: 30.75 kB / 0.9567 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.6116, allocations: 7.891 kB / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.6116, allocations: 39.97 kB / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.6116, allocations: 0 / 0.9567 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003097/0.6119, allocations: 102.8 kB / 0.9568 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.6119, allocations: 51.41 kB / 0.9569 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.303e-05/0.612, allocations: 117.5 kB / 0.957 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/0.612, allocations: 29.64 kB / 0.957 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.612, allocations: 95.38 kB / 0.9571 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.6121, allocations: 9.312 kB / 0.9571 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.6121, allocations: 4 kB / 0.9571 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.377e-05/0.6121, allocations: 312.2 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.6122, allocations: 21.11 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.6123, allocations: 21.48 kB / 0.9575 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.6123, allocations: 25.61 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6123, allocations: 0 / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001716/0.6125, allocations: 74.5 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6125, allocations: 8.828 kB / 0.9576 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.6126, allocations: 0 / 0.9576 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.6126, allocations: 1.125 kB / 0.9576 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/0.6126, allocations: 20.02 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.6127, allocations: 1.375 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.6127, allocations: 13.36 kB / 0.9576 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.6127, allocations: 7.922 kB / 0.9576 GB, free: 4.77 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 (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 5.053e-05/0.6128, allocations: 109.3 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.6128, allocations: 2.781 kB / 0.9577 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.6128, allocations: 17.22 kB / 0.9577 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6129, allocations: 4 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6129, allocations: 3.781 kB / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.6129, allocations: 0 / 0.9577 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.613, allocations: 165.8 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.613, allocations: 0 / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.6131, allocations: 11.83 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6131, allocations: 0 / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.6131, allocations: 1.344 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6131, allocations: 7.891 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6131, allocations: 5.281 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.6133, allocations: 176.2 kB / 0.9581 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.6133, allocations: 85.95 kB / 0.9582 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.6134, allocations: 1.031 kB / 0.9582 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.6134, allocations: 12.89 kB / 0.9582 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.6135, allocations: 5.891 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.6135, allocations: 1.062 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.6135, allocations: 100.6 kB / 0.9583 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6135, allocations: 1.406 kB / 0.9583 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002235/0.6138, allocations: 5.375 kB / 0.9583 GB, free: 4.055 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 (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.000371/0.6141, allocations: 0.6974 MB / 0.959 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.6143, allocations: 54.22 kB / 0.959 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6144, allocations: 1.469 kB / 0.959 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.6144, allocations: 23.8 kB / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.6147, allocations: 12.66 kB / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.6155, allocations: 0.4964 MB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.6156, allocations: 0.6855 MB / 0.9602 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.6157, allocations: 2.719 kB / 0.9602 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.6157, allocations: 25.45 kB / 0.9602 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6157, allocations: 0 / 0.9602 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.6262, allocations: 1.268 MB / 0.9615 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001117/0.6264, allocations: 196.3 kB / 0.9617 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.221, allocations: 4 kB / 0.9617 GB, free: 1.363 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat does not exist to compare? outputFormat=mat