Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 184.7 kB / 16.92 MB, free: 6.75 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.677/2.677, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003685, allocations: 12 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6805, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0008595/0.6814, allocations: 402.4 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.6823, allocations: 0.7962 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.6823, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.6824, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-05/0.6824, allocations: 7.922 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.6825, allocations: 7.984 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.931e-05/0.6826, allocations: 20 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.6827, allocations: 3.984 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.6828, allocations: 15.88 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.6828, allocations: 11.98 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.6828, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.6829, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.6829, allocations: 7.938 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.6829, allocations: 29.7 kB / 1.025 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.274e-05/0.683, allocations: 15.95 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.683, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.709e-06/0.683, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.683, allocations: 3.938 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004197/0.6834, allocations: 345.5 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6835, allocations: 8.031 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.6835, allocations: 4.938 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.6836, allocations: 168.3 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.6836, allocations: 384 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.6837, allocations: 4.375 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.6838, allocations: 58.23 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.6839, allocations: 192 / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.6839, allocations: 3.938 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.6839, allocations: 0 / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.6841, allocations: 43.91 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.6844, allocations: 252.9 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.6845, allocations: 42.56 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6846, allocations: 36.84 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.6847, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6847, allocations: 38.5 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.6847, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003642/0.6851, allocations: 97.64 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.6851, allocations: 51.41 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.6852, allocations: 97.84 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.6852, allocations: 33.7 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.6852, allocations: 80.14 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.6853, allocations: 7.844 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.6853, allocations: 13.84 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6854, allocations: 318.8 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.6855, allocations: 19.98 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.368e-05/0.6856, allocations: 23.98 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.6858, allocations: 52.83 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6858, allocations: 3.984 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002115/0.686, allocations: 77.61 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.686, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.686, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.686, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.6861, allocations: 15.98 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6861, allocations: 0 / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.6862, allocations: 15.95 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.6862, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.493e-05/0.6863, allocations: 118.3 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.6863, allocations: 3.906 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.6866, allocations: 84.72 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6866, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.6866, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6866, allocations: 0 / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.6868, allocations: 161.6 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6868, allocations: 4.188 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.6868, allocations: 11.98 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6868, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.6869, allocations: 8.016 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6869, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6869, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.6871, allocations: 179.4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.6872, allocations: 81.11 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.6872, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.241e-05/0.6873, allocations: 11.92 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.6873, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.6873, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.6874, allocations: 83.28 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6874, allocations: 0 / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002209/0.6876, allocations: 4.031 kB / 1.028 GB, free: 11.58 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001199/0.6877, allocations: 103.2 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.688, allocations: 43.97 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.688, allocations: 4.062 kB / 1.028 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.6881, allocations: 27.92 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.6883, allocations: 15.86 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.6886, allocations: 130.6 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.6889, allocations: 0.6848 MB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.6889, allocations: 7.438 kB / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 6.02e-07/0.6889, allocations: 0 / 1.029 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.001709/0.6906, allocations: 0.5313 MB / 1.029 GB, free: 9.969 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches