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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.006428/0.006428, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001826/0.001826, allocations: 194.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.625/2.625, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 68.11 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2565, allocations: 162.3 MB / 1.242 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002204/0.2588, allocations: 1.522 MB / 1.243 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.2594, allocations: 431 kB / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.2594, allocations: 0 / 1.244 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.2595, allocations: 7.922 kB / 1.244 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.2595, allocations: 11.88 kB / 1.244 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.2597, allocations: 19.98 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.2598, allocations: 55.77 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.2599, allocations: 19.98 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.2599, allocations: 19.92 kB / 1.244 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.26, allocations: 19.91 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.26, allocations: 8 kB / 1.244 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.26, allocations: 4 kB / 1.244 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.2601, allocations: 11.92 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.2601, allocations: 31.8 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.478e-05/0.2602, allocations: 39.77 kB / 1.244 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2602, allocations: 3.938 kB / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2602, allocations: 0 / 1.244 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2602, allocations: 0 / 1.244 GB, free: 7.645 MB / 0.9981 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.0004502/0.2607, allocations: 363.3 kB / 1.244 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.2607, allocations: 12.03 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.2607, allocations: 38.73 kB / 1.244 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.2608, allocations: 8.891 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2609, allocations: 172.3 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2609, allocations: 384 / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.2609, allocations: 4.375 kB / 1.245 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.2611, allocations: 69.73 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2611, allocations: 3.984 kB / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2611, allocations: 0 / 1.245 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.2611, allocations: 8 kB / 1.245 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.2613, allocations: 35.97 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.2617, allocations: 296.7 kB / 1.245 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.262, allocations: 66.48 kB / 1.245 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.949e-05/0.2621, allocations: 24.91 kB / 1.245 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.2621, allocations: 3.984 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.2622, allocations: 30.56 kB / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2622, allocations: 0 / 1.245 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003292/0.2625, allocations: 81.66 kB / 1.245 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2625, allocations: 59.34 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.2626, allocations: 125.8 kB / 1.245 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2626, allocations: 29.69 kB / 1.245 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.2627, allocations: 88.09 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.2627, allocations: 7.953 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.2628, allocations: 13.72 kB / 1.245 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2629, allocations: 326.8 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.263, allocations: 15.98 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.2631, allocations: 19.98 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2632, allocations: 36.83 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2632, allocations: 7.938 kB / 1.246 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001935/0.2634, allocations: 65.95 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2634, allocations: 5.719 kB / 1.246 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2635, allocations: 11.92 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2635, allocations: 7.938 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.2635, allocations: 11.98 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2636, allocations: 0 / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.2636, allocations: 11.98 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.2636, allocations: 3.938 kB / 1.246 GB, free: 5.387 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.2637, allocations: 109.8 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2637, allocations: 7.953 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.2638, allocations: 7.906 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.2638, allocations: 4 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.2638, allocations: 0 / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2638, allocations: 0 / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.2639, allocations: 185.6 kB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.264, allocations: 0 / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.264, allocations: 11.98 kB / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.264, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.264, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.264, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2641, allocations: 0 / 1.246 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.2643, allocations: 179.4 kB / 1.246 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.2643, allocations: 81.06 kB / 1.246 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.2644, allocations: 0 / 1.246 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.2644, allocations: 4 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.2645, allocations: 3.984 kB / 1.247 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.2645, allocations: 4 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.2645, allocations: 103.2 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2645, allocations: 0 / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001975/0.2647, allocations: 8 kB / 1.247 GB, free: 4.59 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004919/0.2652, allocations: 0.6934 MB / 1.247 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.2655, allocations: 43.97 kB / 1.247 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2655, allocations: 3.938 kB / 1.247 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.594e-05/0.2656, allocations: 19.98 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2658, allocations: 6.062 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2672, allocations: 1.358 MB / 1.249 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2675, allocations: 0.6807 MB / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.2675, allocations: 4.188 kB / 1.249 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.2675, allocations: 19.42 kB / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2675, allocations: 3.938 kB / 1.249 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3858/0.6533, allocations: 1.512 MB / 1.251 GB, free: 228 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.802, allocations: 5.812 kB / 1.251 GB, free: 224 kB / 0.9981 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/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=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches