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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006866/0.006866, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001675/0.001675, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 57.94 kB / 0.9503 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.223, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002323/0.2254, allocations: 1.522 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.2261, allocations: 436.3 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.2261, allocations: 0 / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.2262, allocations: 7.938 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.2263, allocations: 7.938 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.2265, allocations: 31.89 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2266, allocations: 43.88 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2267, allocations: 23.97 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2269, allocations: 27.77 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.2269, allocations: 23.92 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.227, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.227, allocations: 7.938 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.227, allocations: 11.98 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.227, allocations: 19.88 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2271, allocations: 39.81 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2272, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2272, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2272, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 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.0005637/0.2277, allocations: 371 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2278, allocations: 8.031 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.2278, allocations: 34.75 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.2279, allocations: 4.938 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.228, allocations: 176.2 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2281, allocations: 4.375 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2281, allocations: 384 / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2283, allocations: 65.8 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.2283, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2283, allocations: 8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2283, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.2285, allocations: 43.95 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.229, allocations: 300.6 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.2293, allocations: 70.53 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.2294, allocations: 20.91 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2295, allocations: 4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2295, allocations: 34.5 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2295, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000422/0.2299, allocations: 89.56 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.23, allocations: 55.39 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.2301, allocations: 117.8 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.2301, allocations: 25.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2301, allocations: 92.14 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.2302, allocations: 7.891 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.2302, allocations: 17.72 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2303, allocations: 318.7 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.2304, allocations: 27.92 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.2305, allocations: 15.98 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2307, allocations: 40.77 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2307, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000203/0.2309, allocations: 73.56 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2309, allocations: 8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2309, allocations: 4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2309, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.231, allocations: 4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.231, allocations: 7.984 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.2311, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.2311, allocations: 7.938 kB / 1.092 GB, free: 13.58 MB / 0.8575 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 7.413e-05/0.2312, allocations: 109.8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.2312, allocations: 11.84 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.2313, allocations: 15.89 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2313, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2313, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.2313, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2314, allocations: 173.5 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2314, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.2315, allocations: 11.98 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2315, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2315, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2315, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2316, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.2318, allocations: 171.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.2319, allocations: 85.06 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2319, allocations: 7.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.232, allocations: 3.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.232, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.232, allocations: 7.938 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.2321, allocations: 107.6 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2321, allocations: 3.938 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002158/0.2323, allocations: 8 kB / 1.092 GB, free: 12.77 MB / 0.8575 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.0004833/0.2328, allocations: 0.6968 MB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.233, allocations: 39.91 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.233, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.2331, allocations: 23.98 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.2334, allocations: 7.922 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2348, allocations: 1.341 MB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.235, allocations: 0.6846 MB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.937e-05/0.2351, allocations: 0 / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.2351, allocations: 15.44 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.2351, allocations: 0 / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/0.5399, allocations: 1.52 MB / 1.096 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.581, allocations: 3.938 kB / 1.096 GB, free: 8.406 MB / 0.8575 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches