Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="Buildings_latest_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.001192/0.001192, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.78 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2452, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Diagnostics.Validation.CheckEquality): time 0.003586/0.2488, allocations: 1.585 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007827/0.2496, allocations: 446.9 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.837e-05/0.2497, allocations: 0 / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.2497, allocations: 7.922 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.2498, allocations: 3.938 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.25, allocations: 19.98 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.668e-05/0.2501, allocations: 43.84 kB / 1.054 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2502, allocations: 23.92 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2503, allocations: 15.94 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.2504, allocations: 27.84 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.2504, allocations: 4 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2504, allocations: 0 / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.2504, allocations: 15.92 kB / 1.054 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2505, allocations: 19.86 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.2506, allocations: 31.89 kB / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2506, allocations: 0 / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2506, allocations: 4 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2506, allocations: 0 / 1.054 GB, free: 6.004 MB / 0.8106 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.0004854/0.2511, allocations: 359.7 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2511, allocations: 15.97 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.2512, allocations: 34.73 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.2512, allocations: 12.78 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2513, allocations: 172.2 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2514, allocations: 8.359 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.2514, allocations: 8.375 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.2516, allocations: 65.78 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.2516, allocations: 0 / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2516, allocations: 0 / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2516, allocations: 0 / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2518, allocations: 39.97 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.2523, allocations: 304.6 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.2526, allocations: 58.55 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.2527, allocations: 24.91 kB / 1.055 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.2527, allocations: 3.984 kB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2527, allocations: 34.56 kB / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2527, allocations: 0 / 1.055 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003683/0.2531, allocations: 85.59 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.2532, allocations: 55.41 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.2533, allocations: 121.8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2533, allocations: 25.7 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.2533, allocations: 96.05 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2534, allocations: 7.906 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.2534, allocations: 13.7 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2535, allocations: 322.8 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.2536, allocations: 15.98 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.2537, allocations: 19.98 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.2539, allocations: 36.83 kB / 1.056 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2539, allocations: 3.938 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002106/0.2541, allocations: 77.52 kB / 1.056 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2541, allocations: 6.031 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2541, allocations: 336 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2542, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.2542, allocations: 11.98 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2542, allocations: 3.938 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.2543, allocations: 7.984 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2543, allocations: 11.94 kB / 1.056 GB, free: 3.75 MB / 0.8106 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.475e-05/0.2544, allocations: 113.8 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.2544, allocations: 3.984 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.2545, allocations: 11.91 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2545, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2545, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2545, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.2547, allocations: 181.6 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2547, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.2548, allocations: 11.98 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.2548, allocations: 7.938 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2548, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2548, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2548, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2551, allocations: 163.5 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.2551, allocations: 85.02 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2551, allocations: 4 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.2552, allocations: 8 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.2553, allocations: 3.984 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.2553, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.806e-05/0.2553, allocations: 99.2 kB / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2553, allocations: 0 / 1.057 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002224/0.2556, allocations: 11.94 kB / 1.057 GB, free: 2.961 MB / 0.8106 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.0004836/0.256, allocations: 0.7007 MB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2563, allocations: 39.97 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2563, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.2564, allocations: 19.92 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.2567, allocations: 19.92 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2581, allocations: 1.343 MB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.2583, allocations: 0.6926 MB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.2584, allocations: 256 / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.2585, allocations: 19.44 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of SimCode: time 9.02e-07/0.2585, allocations: 0 / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4791/0.7376, allocations: 1.337 MB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.7378, allocations: 219.7 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.5, allocations: 3.938 kB / 1.061 GB, free: 14.5 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Diagnostics_Validation_CheckEquality.fmu > Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Diagnostics_Validation_CheckEquality.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Diagnostics.Validation.CheckEquality.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches