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.001461/0.001461, allocations: 100.5 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.001748/0.001748, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.437/2.437, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.321/4.321, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005052/0.0005052, allocations: 8 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.933, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001751/0.9348, allocations: 1.223 MB / 0.9821 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.9354, allocations: 391.5 kB / 0.9824 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.9355, allocations: 7.875 kB / 0.9824 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/0.9355, allocations: 3.984 kB / 0.9824 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.9356, allocations: 15.92 kB / 0.9825 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.9358, allocations: 15.98 kB / 0.9825 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.562e-05/0.9359, allocations: 27.89 kB / 0.9825 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.936, allocations: 15.98 kB / 0.9825 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.9361, allocations: 15.92 kB / 0.9825 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.9362, allocations: 19.92 kB / 0.9825 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.9362, allocations: 4 kB / 0.9826 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.9362, allocations: 4 kB / 0.9826 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.9362, allocations: 11.91 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.9363, allocations: 33.7 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.745e-05/0.9364, allocations: 15.95 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.9364, allocations: 0 / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.348e-06/0.9364, allocations: 0 / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.9364, allocations: 3.938 kB / 0.9826 GB, free: 4.5 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.0005256/0.9369, allocations: 365.4 kB / 0.983 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.937, allocations: 12.03 kB / 0.983 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.937, allocations: 34.56 kB / 0.983 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.9371, allocations: 11.89 kB / 0.983 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.9372, allocations: 167 kB / 0.9832 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.9373, allocations: 4 kB / 0.9832 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.9373, allocations: 4 kB / 0.9832 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9375, allocations: 73.62 kB / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.9375, allocations: 0 / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9375, allocations: 0 / 0.9833 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9375, allocations: 3.984 kB / 0.9833 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.9377, allocations: 55.94 kB / 0.9833 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.9382, allocations: 300.7 kB / 0.9836 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.9386, allocations: 70.55 kB / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.9386, allocations: 0 / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.9386, allocations: 30.56 kB / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.9387, allocations: 0 / 0.9837 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004093/0.9391, allocations: 105.7 kB / 0.9838 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.9391, allocations: 55.41 kB / 0.9839 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.9392, allocations: 113.8 kB / 0.984 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.9392, allocations: 29.7 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.9393, allocations: 92.03 kB / 0.9841 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.9393, allocations: 15.91 kB / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.9393, allocations: 0 / 0.9841 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.9395, allocations: 314.8 kB / 0.9844 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.9396, allocations: 23.98 kB / 0.9844 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.9397, allocations: 23.98 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.213e-05/0.9398, allocations: 19.98 kB / 0.9845 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9398, allocations: 3.953 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002153/0.94, allocations: 85.5 kB / 0.9845 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.94, allocations: 4 kB / 0.9845 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.94, allocations: 3.938 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.9401, allocations: 4 kB / 0.9846 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.9401, allocations: 11.98 kB / 0.9846 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9402, allocations: 4 kB / 0.9846 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.9402, allocations: 11.94 kB / 0.9846 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.9402, allocations: 4 kB / 0.9846 GB, free: 2.262 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 0.0001077/0.9403, allocations: 105.8 kB / 0.9847 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.9404, allocations: 7.953 kB / 0.9847 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.9404, allocations: 11.89 kB / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9404, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9404, allocations: 0 / 0.9847 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.9405, allocations: 8 kB / 0.9847 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.9406, allocations: 169.6 kB / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9407, allocations: 0 / 0.9849 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.9407, allocations: 15.94 kB / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9407, allocations: 0 / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.9408, allocations: 0 / 0.9849 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9408, allocations: 7.938 kB / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9408, allocations: 0 / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.9411, allocations: 175.5 kB / 0.9851 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.9411, allocations: 85.39 kB / 0.9851 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.9412, allocations: 7.953 kB / 0.9852 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.9412, allocations: 7.984 kB / 0.9852 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.9413, allocations: 0 / 0.9852 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.9413, allocations: 8 kB / 0.9852 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.203e-05/0.9414, allocations: 91.7 kB / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9414, allocations: 0 / 0.9853 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002299/0.9416, allocations: 12 kB / 0.9853 GB, free: 1.465 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.0005768/0.9422, allocations: 0.7046 MB / 0.986 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.9424, allocations: 43.97 kB / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9424, allocations: 0 / 0.986 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.9425, allocations: 27.98 kB / 0.986 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.9428, allocations: 16.2 kB / 0.986 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.9438, allocations: 0.4997 MB / 0.9865 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.9442, allocations: 0.6888 MB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.9442, allocations: 4 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.9443, allocations: 19.36 kB / 0.9872 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.9443, allocations: 7.938 kB / 0.9872 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.29/2.234, allocations: 1.237 MB / 0.9884 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003179/2.235, allocations: 192.5 kB / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.923, allocations: 0 / 0.9886 GB, free: 14.02 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