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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 109.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 469.8 MB / 0.7491 GB, free: 2.988 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.073 GB, free: 172 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8228, allocations: 159.1 MB / 1.229 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.002752/0.8256, allocations: 1.52 MB / 1.23 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007464/0.8264, allocations: 446.9 kB / 1.231 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.8265, allocations: 0 / 1.231 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.8265, allocations: 3.938 kB / 1.231 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.8266, allocations: 7.938 kB / 1.231 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.8268, allocations: 31.89 kB / 1.231 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.8269, allocations: 39.86 kB / 1.231 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.827, allocations: 23.98 kB / 1.231 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.8271, allocations: 23.86 kB / 1.231 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.8272, allocations: 27.91 kB / 1.231 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.8272, allocations: 4 kB / 1.231 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.8272, allocations: 0 / 1.231 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.8272, allocations: 11.94 kB / 1.231 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.8273, allocations: 19.86 kB / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.8274, allocations: 45.64 kB / 1.231 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.8274, allocations: 4 kB / 1.231 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/0.8274, allocations: 0 / 1.231 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.8274, allocations: 0 / 1.231 GB, free: 2.672 MB / 0.9356 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.0005586/0.828, allocations: 367.2 kB / 1.231 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.828, allocations: 8.031 kB / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.8281, allocations: 38.75 kB / 1.231 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.366e-05/0.8281, allocations: 4.891 kB / 1.231 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8282, allocations: 172.3 kB / 1.231 GB, free: 2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.8283, allocations: 8.312 kB / 1.231 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.8283, allocations: 4.375 kB / 1.231 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.8285, allocations: 73.78 kB / 1.231 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.8285, allocations: 0 / 1.231 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.8285, allocations: 0 / 1.231 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8285, allocations: 0 / 1.231 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.8287, allocations: 43.97 kB / 1.231 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.8292, allocations: 296.7 kB / 1.232 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.8295, allocations: 66.53 kB / 1.232 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.8296, allocations: 28.89 kB / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.8297, allocations: 0 / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8297, allocations: 30.56 kB / 1.232 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.8297, allocations: 4 kB / 1.232 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0003611/0.8301, allocations: 93.55 kB / 1.232 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.8301, allocations: 51.41 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8302, allocations: 129.7 kB / 1.232 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.8303, allocations: 25.7 kB / 1.232 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.8303, allocations: 88.14 kB / 1.232 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.8303, allocations: 12.02 kB / 1.232 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.8304, allocations: 17.7 kB / 1.232 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8305, allocations: 322.8 kB / 1.233 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.8306, allocations: 15.98 kB / 1.233 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.251e-05/0.8307, allocations: 15.98 kB / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.8309, allocations: 44.77 kB / 1.233 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.8309, allocations: 0 / 1.233 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002198/0.8311, allocations: 73.62 kB / 1.233 GB, free: 456 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8312, allocations: 11.98 kB / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8312, allocations: 0 / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.8312, allocations: 0 / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.8313, allocations: 8 kB / 1.233 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.8313, allocations: 0 / 1.233 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.962e-05/0.8313, allocations: 7.984 kB / 1.233 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.8314, allocations: 7.875 kB / 1.233 GB, free: 420 kB / 0.9356 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.844e-05/0.8314, allocations: 113.8 kB / 1.233 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.8315, allocations: 11.95 kB / 1.233 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.8315, allocations: 3.906 kB / 1.233 GB, free: 268 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8315, allocations: 7.984 kB / 1.233 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8315, allocations: 0 / 1.233 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8315, allocations: 3.938 kB / 1.233 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.8317, allocations: 173.5 kB / 1.233 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.8317, allocations: 0 / 1.233 GB, free: 32 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.8318, allocations: 11.98 kB / 1.233 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8318, allocations: 0 / 1.233 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.8318, allocations: 4 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8319, allocations: 4 kB / 1.233 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8319, allocations: 4 kB / 1.233 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.8321, allocations: 167.4 kB / 1.233 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.8322, allocations: 77.11 kB / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.8322, allocations: 4 kB / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.8323, allocations: 3.984 kB / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.8324, allocations: 8.375 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.8324, allocations: 4 kB / 1.233 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.8325, allocations: 103.2 kB / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.874e-06/0.8325, allocations: 0 / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002076/0.8327, allocations: 7.938 kB / 1.233 GB, free: 15.61 MB / 0.9512 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.0005918/0.8333, allocations: 0.7051 MB / 1.234 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.8335, allocations: 31.97 kB / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8335, allocations: 4 kB / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.8336, allocations: 23.92 kB / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.8339, allocations: 5.875 kB / 1.234 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.8355, allocations: 1.355 MB / 1.235 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.8359, allocations: 0.6807 MB / 1.236 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.8359, allocations: 7.922 kB / 1.236 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.836, allocations: 19.44 kB / 1.236 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.836, allocations: 0 / 1.236 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.8576, allocations: 1.512 MB / 1.238 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/8.6, allocations: 7.328 kB / 1.238 GB, free: 11.22 MB / 0.9512 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_11_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.505821630125865]