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.0008257/0.0008257, 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.0008268/0.0008268, allocations: 169.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.8989/0.8989, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 7.938 kB / 0.9809 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.23e-05, allocations: 2.281 kB / 0.9809 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.001964/0.001986, allocations: 1.535 MB / 0.9824 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.002628, allocations: 482.8 kB / 0.9829 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.002696, allocations: 3.938 kB / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.936e-05/0.002725, allocations: 7.875 kB / 0.9829 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.19e-05/0.002767, allocations: 4 kB / 0.9829 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.003034, allocations: 31.84 kB / 0.9829 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.003132, allocations: 55.7 kB / 0.983 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.003225, allocations: 12 kB / 0.983 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.003359, allocations: 35.95 kB / 0.983 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.003391, allocations: 19.92 kB / 0.983 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003405, allocations: 4 kB / 0.983 GB, free: 15.3 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.003442, allocations: 11.94 kB / 0.9831 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.003454, allocations: 11.92 kB / 0.9831 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.003474, allocations: 15.98 kB / 0.9831 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.817e-05/0.003573, allocations: 51.8 kB / 0.9831 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003574, allocations: 4 kB / 0.9831 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003575, allocations: 0 / 0.9831 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003579, allocations: 0 / 0.9831 GB, free: 15.2 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.0003622/0.003942, allocations: 286.2 kB / 0.9834 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.003979, allocations: 16.03 kB / 0.9834 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.004004, allocations: 30.75 kB / 0.9835 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.004085, allocations: 16.88 kB / 0.9835 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.004233, allocations: 125.7 kB / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.004251, allocations: 384 / 0.9836 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.004261, allocations: 8.375 kB / 0.9836 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.004386, allocations: 58.23 kB / 0.9837 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.004391, allocations: 192 / 0.9837 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.0044, allocations: 4.125 kB / 0.9837 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004405, allocations: 11.94 kB / 0.9837 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.0045, allocations: 39.97 kB / 0.9837 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.0048, allocations: 259.8 kB / 0.984 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.004993, allocations: 58.55 kB / 0.984 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.005044, allocations: 24.91 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.005057, allocations: 4 kB / 0.984 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.005075, allocations: 46.48 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005076, allocations: 3.938 kB / 0.9841 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.00022/0.005296, allocations: 85.61 kB / 0.9842 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.005322, allocations: 51.41 kB / 0.9842 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.005391, allocations: 125.2 kB / 0.9843 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.005401, allocations: 25.7 kB / 0.9844 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.005438, allocations: 96.2 kB / 0.9845 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.005454, allocations: 7.906 kB / 0.9845 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.005482, allocations: 25.7 kB / 0.9845 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005601, allocations: 318.8 kB / 0.9848 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.005648, allocations: 15.98 kB / 0.9848 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.005688, allocations: 15.98 kB / 0.9848 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.55e-05/0.005773, allocations: 40.77 kB / 0.9849 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005775, allocations: 0 / 0.9849 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001111/0.005886, allocations: 73.67 kB / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005898, allocations: 4 kB / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.005903, allocations: 0 / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005916, allocations: 336 / 0.9849 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.995e-05/0.005956, allocations: 11.98 kB / 0.9849 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.00596, allocations: 0 / 0.9849 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.005988, allocations: 15.88 kB / 0.985 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.005995, allocations: 4 kB / 0.985 GB, free: 13.14 MB / 0.9011 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.51e-05/0.00605, allocations: 117.7 kB / 0.9851 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.006064, allocations: 4 kB / 0.9851 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.006092, allocations: 15.98 kB / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006094, allocations: 0 / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006097, allocations: 0 / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.0061, allocations: 0 / 0.9851 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.006211, allocations: 144.7 kB / 0.9852 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.006211, allocations: 0 / 0.9852 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.00624, allocations: 11.98 kB / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.006241, allocations: 0 / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.006247, allocations: 0 / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006248, allocations: 0 / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006249, allocations: 0 / 0.9852 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.00639, allocations: 175.4 kB / 0.9854 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-06/0.0064, allocations: 11.89 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.00641, allocations: 3.938 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.452e-05/0.006455, allocations: 4 kB / 0.9854 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.006484, allocations: 11.92 kB / 0.9854 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006487, allocations: 0 / 0.9854 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.006523, allocations: 95.27 kB / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.006523, allocations: 0 / 0.9855 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001482/0.006671, allocations: 8 kB / 0.9855 GB, free: 12.47 MB / 0.9011 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.0002962/0.006967, allocations: 0.7007 MB / 0.9862 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.007096, allocations: 39.91 kB / 0.9863 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007098, allocations: 0 / 0.9863 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.007142, allocations: 19.98 kB / 0.9863 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.007325, allocations: 8 kB / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.008269, allocations: 1.361 MB / 0.9876 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.008314, allocations: 75.23 kB / 0.9877 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.585e-05/0.008339, allocations: 3.938 kB / 0.9877 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.00838, allocations: 24.48 kB / 0.9877 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.00838, allocations: 4 kB / 0.9877 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.0219, allocations: 2.194 MB / 0.9899 GB, free: 8.066 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.798, allocations: 12.42 kB / 0.9899 GB, free: 8.059 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/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: 10.760579977184534]