Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_10_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.0009622/0.0009621, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005779/0.005779, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 8 kB / 0.8729 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5363, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001432/0.5377, allocations: 1.244 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005734/0.5383, allocations: 439 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.5384, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.5384, allocations: 3.938 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.857e-05/0.5385, allocations: 3.984 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.5386, allocations: 23.92 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.5387, allocations: 43.84 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.5388, allocations: 19.91 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.5389, allocations: 19.91 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.5389, allocations: 15.92 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.539, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.539, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.539, allocations: 7.938 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.539, allocations: 49.5 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.5391, allocations: 35.88 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.5391, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5391, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.5391, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 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.0004188/0.5396, allocations: 357.7 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5396, allocations: 8.031 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/0.5396, allocations: 38.69 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.5397, allocations: 4.844 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.067e-05/0.5398, allocations: 168.3 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5398, allocations: 8.375 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.5398, allocations: 4.375 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.54, allocations: 77.72 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.54, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.54, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.54, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.5402, allocations: 55.97 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.5406, allocations: 292.7 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.541, allocations: 78.47 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5411, allocations: 24.91 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.5411, allocations: 4 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.5411, allocations: 34.56 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5412, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000374/0.5415, allocations: 93.75 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5416, allocations: 55.34 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.5417, allocations: 125.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.5417, allocations: 25.7 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.5417, allocations: 92.14 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.5417, allocations: 7.844 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.5418, allocations: 17.7 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.5419, allocations: 318.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.542, allocations: 19.98 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.5421, allocations: 27.97 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.5422, allocations: 44.83 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5422, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002196/0.5425, allocations: 85.58 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5425, allocations: 7.938 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.5425, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.5425, allocations: 3.938 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.5426, allocations: 15.92 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.5426, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.5427, allocations: 15.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5427, allocations: 3.938 kB / 1.027 GB, free: 11.61 MB / 0.7794 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.769e-05/0.5428, allocations: 115.2 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.5428, allocations: 3.906 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.5428, allocations: 7.906 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.5428, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5428, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5428, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.543, allocations: 177.6 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.543, allocations: 8 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.5431, allocations: 11.98 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.5431, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.5431, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5431, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5431, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.5434, allocations: 187.3 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.5434, allocations: 77.11 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.5434, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.5435, allocations: 4 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.5436, allocations: 7.984 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.5436, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.5436, allocations: 107.6 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5436, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002155/0.5439, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 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.0004602/0.5443, allocations: 0.7162 MB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.5445, allocations: 39.97 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5446, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.5447, allocations: 28.31 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.5449, allocations: 14.61 kB / 1.028 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5463, allocations: 1.396 MB / 1.03 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.5465, allocations: 0.6848 MB / 1.03 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.5465, allocations: 8.438 kB / 1.031 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.5466, allocations: 11.77 kB / 1.031 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5466, allocations: 3.938 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.5591, allocations: 1.273 MB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5593, allocations: 203.9 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.574/2.134, allocations: 2.109 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches