Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_11_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.001275/0.001275, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 198.1 kB / 16.54 MB, free: 6.703 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 72.81 kB / 0.9087 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2522, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002603/0.2549, allocations: 1.518 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.2555, allocations: 440.8 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.2555, allocations: 0 / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2556, allocations: 7.875 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.2556, allocations: 7.875 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2558, allocations: 27.91 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.2559, allocations: 47.86 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.256, allocations: 19.97 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.2561, allocations: 23.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.2561, allocations: 15.92 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2561, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.2562, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2562, allocations: 7.938 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2562, allocations: 35.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.2563, allocations: 35.89 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2563, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2563, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2563, allocations: 0 / 1.066 GB, free: 12 MB / 0.8262 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.0004696/0.2568, allocations: 367.5 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2568, allocations: 8.031 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.2569, allocations: 30.75 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2569, allocations: 12.88 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.257, allocations: 176.3 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2571, allocations: 4.375 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2571, allocations: 4.375 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2573, allocations: 69.77 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.2573, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2573, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2573, allocations: 7.938 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.2575, allocations: 39.97 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.2579, allocations: 296.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.2582, allocations: 66.47 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.2583, allocations: 28.91 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2583, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2583, allocations: 34.56 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.2583, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003432/0.2587, allocations: 81.56 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.2587, allocations: 55.41 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.2588, allocations: 125.8 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.2589, allocations: 25.7 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.2589, allocations: 92.08 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2589, allocations: 11.84 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.259, allocations: 17.7 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2591, allocations: 318.8 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.2592, allocations: 15.98 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.2593, allocations: 19.98 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2594, allocations: 36.83 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2595, allocations: 4 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002081/0.2597, allocations: 69.58 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2597, allocations: 5.25 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2597, allocations: 0 / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2597, allocations: 3.984 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.432e-05/0.2598, allocations: 11.94 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2598, allocations: 7.938 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.2599, allocations: 7.984 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2599, allocations: 3.938 kB / 1.068 GB, free: 9.754 MB / 0.8262 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.565e-05/0.2599, allocations: 113.8 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.26, allocations: 7.906 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.26, allocations: 7.906 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.26, allocations: 336 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.26, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.26, allocations: 7.984 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2602, allocations: 173.6 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2602, allocations: 0 / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.2603, allocations: 15.97 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2603, allocations: 7.984 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.2606, allocations: 175.4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.2606, allocations: 81.02 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.2607, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2607, allocations: 8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.2608, allocations: 3.984 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2608, allocations: 4 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.2608, allocations: 99.58 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2609, allocations: 0 / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002067/0.2611, allocations: 11.94 kB / 1.069 GB, free: 8.953 MB / 0.8262 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.0005186/0.2616, allocations: 0.6968 MB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.2618, allocations: 43.91 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2618, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.2619, allocations: 23.92 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.2622, allocations: 6.062 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2636, allocations: 1.341 MB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2639, allocations: 0.6846 MB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2639, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.264, allocations: 19.42 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.264, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/0.388, allocations: 1.474 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.129, allocations: 13.55 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches