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.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.0009284/0.0009284, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009029/0.0009029, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.824e-06/1.824e-06, allocations: 0 / 0.9504 GB, free: 3.586 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.583e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.582 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001853/0.001869, allocations: 1.538 MB / 0.952 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.002469, allocations: 487.2 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.002523, allocations: 0 / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.00255, allocations: 11.86 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.002589, allocations: 3.938 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.002821, allocations: 39.89 kB / 0.9525 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.002918, allocations: 47.8 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.003016, allocations: 15.97 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.003148, allocations: 39.84 kB / 0.9526 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.003178, allocations: 15.92 kB / 0.9526 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003192, allocations: 4 kB / 0.9526 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.304e-05/0.003235, allocations: 11.98 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.003248, allocations: 7.984 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.003268, allocations: 11.94 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.003381, allocations: 55.8 kB / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003382, allocations: 0 / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003383, allocations: 0 / 0.9527 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003388, allocations: 7.938 kB / 0.9527 GB, free: 1.277 MB / 0.9011 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.0003828/0.00377, allocations: 286.1 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.003805, allocations: 12.03 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.855e-05/0.003834, allocations: 38.73 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.003918, allocations: 8.938 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.004055, allocations: 125.6 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.004073, allocations: 8.375 kB / 0.9531 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.004082, allocations: 4.375 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.004211, allocations: 66.2 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004218, allocations: 192 / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004228, allocations: 4.125 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004233, allocations: 4 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.72e-05/0.004331, allocations: 39.97 kB / 0.9532 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004617, allocations: 259.8 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.004815, allocations: 62.55 kB / 0.9536 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.004865, allocations: 20.91 kB / 0.9536 GB, free: 240 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.004879, allocations: 4 kB / 0.9536 GB, free: 236 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.004893, allocations: 30.56 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.004894, allocations: 0 / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.005124, allocations: 101.5 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.005156, allocations: 55.41 kB / 0.9538 GB, free: 20 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.305e-05/0.005239, allocations: 118.1 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.005248, allocations: 25.7 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.005284, allocations: 96.06 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.005302, allocations: 15.84 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.005329, allocations: 13.72 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.005401, allocations: 322.8 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.005449, allocations: 19.98 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.005487, allocations: 11.98 kB / 0.9544 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.601e-05/0.005573, allocations: 48.77 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.005576, allocations: 4 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001093/0.005685, allocations: 65.67 kB / 0.9545 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005697, allocations: 8 kB / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005701, allocations: 0 / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.005711, allocations: 0 / 0.9545 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.005752, allocations: 11.98 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005757, allocations: 4 kB / 0.9545 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.005784, allocations: 7.953 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.00579, allocations: 3.938 kB / 0.9545 GB, free: 15.21 MB / 0.9167 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 5.458e-05/0.005845, allocations: 121.8 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.005857, allocations: 0 / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.005886, allocations: 8 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005887, allocations: 0 / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.00589, allocations: 0 / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005893, allocations: 3.938 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.006002, allocations: 144.7 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.006003, allocations: 4 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.00603, allocations: 8 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-07/0.006031, allocations: 0 / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.006038, allocations: 3.984 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006039, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006039, allocations: 0 / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.006184, allocations: 171.4 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.006193, allocations: 3.953 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.006204, allocations: 7.984 kB / 0.955 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.006243, allocations: 4 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.006268, allocations: 4 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006272, allocations: 3.984 kB / 0.955 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.006306, allocations: 98.66 kB / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006307, allocations: 3.938 kB / 0.9551 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001428/0.006449, allocations: 7.938 kB / 0.9551 GB, free: 14.55 MB / 0.9167 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.0002921/0.006741, allocations: 0.701 MB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.006873, allocations: 48 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006875, allocations: 0 / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-05/0.00692, allocations: 23.92 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.007117, allocations: 1.719 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.008174, allocations: 1.365 MB / 0.9572 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.008218, allocations: 71.34 kB / 0.9572 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.008243, allocations: 3.984 kB / 0.9572 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.00828, allocations: 16.5 kB / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.008281, allocations: 0 / 0.9572 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.02165, allocations: 2.212 MB / 0.9594 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.817, allocations: 0 / 0.9594 GB, free: 10.13 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.678462907671928]