Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002287/0.002287, allocations: 217.2 kB / 22.24 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.49 GB / 0.7951 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 65.64 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.331, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002925/0.3339, allocations: 1.542 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009133/0.3348, allocations: 474.9 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.3349, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.3349, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.119e-05/0.335, allocations: 11.86 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.3352, allocations: 35.91 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3353, allocations: 47.84 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3355, allocations: 20.17 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.3356, allocations: 31.86 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.3356, allocations: 27.84 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3357, allocations: 4 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.736e-05/0.3357, allocations: 8 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.3357, allocations: 4 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3357, allocations: 23.84 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3359, allocations: 47.77 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3359, allocations: 4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3359, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3359, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 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.0005233/0.3364, allocations: 294.1 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3364, allocations: 15.97 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.3365, allocations: 30.75 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3366, allocations: 16.88 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.3368, allocations: 130.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3369, allocations: 384 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3369, allocations: 4.375 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3371, allocations: 69.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3371, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3371, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.3371, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3373, allocations: 39.97 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.3378, allocations: 263.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.3381, allocations: 58.55 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3382, allocations: 28.91 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3382, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.3383, allocations: 38.5 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3383, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.000396/0.3387, allocations: 93.58 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3387, allocations: 51.41 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3388, allocations: 122.1 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.3389, allocations: 25.7 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.3389, allocations: 96.12 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.3389, allocations: 7.953 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.339, allocations: 17.72 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3392, allocations: 322.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3393, allocations: 15.98 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.3394, allocations: 15.98 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3395, allocations: 40.77 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3395, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/0.3398, allocations: 81.56 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3398, allocations: 4 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3398, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3398, allocations: 0 / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.3399, allocations: 11.98 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3399, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3399, allocations: 7.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3399, allocations: 3.938 kB / 1.33 GB, free: 13.14 MB / 1.029 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 0.0001631/0.3401, allocations: 114.4 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.3401, allocations: 15.89 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.3402, allocations: 11.94 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3402, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3402, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3402, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3404, allocations: 152.7 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3404, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.3405, allocations: 11.98 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3405, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3405, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3405, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3405, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.3408, allocations: 171.4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.3408, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3408, allocations: 4 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.674e-05/0.3409, allocations: 4 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3409, allocations: 7.984 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.3409, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.341, allocations: 103.1 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.341, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002232/0.3412, allocations: 12 kB / 1.33 GB, free: 12.46 MB / 1.029 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.000598/0.3418, allocations: 0.6956 MB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.342, allocations: 44 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.342, allocations: 3.938 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.3421, allocations: 19.98 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.3424, allocations: 9.031 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3443, allocations: 1.352 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.811e-05/0.3444, allocations: 75.19 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.3444, allocations: 4 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.3445, allocations: 19.44 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3445, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.3744, allocations: 2.09 MB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.7, allocations: 14.78 kB / 1.335 GB, free: 8.156 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.4607186630019]