Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 108 kB / 15.6 MB, free: 132 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.001633/0.001634, allocations: 197.1 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.834/2.834, allocations: 437 MB / 0.7104 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 75.89 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8184, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002188/0.8206, allocations: 0.6647 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009857/0.8216, allocations: 0.804 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.8216, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.8217, allocations: 3.938 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.8217, allocations: 8 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.8219, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.822, allocations: 19.92 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.8221, allocations: 8 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.8221, allocations: 11.92 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.8222, allocations: 11.98 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.8222, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.8222, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.8222, allocations: 7.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.8223, allocations: 3.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.725e-05/0.8223, allocations: 31.91 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8224, allocations: 4 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.648e-06/0.8224, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8224, allocations: 3.938 kB / 1.019 GB, free: 0.9102 MB / 0.7637 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.0005259/0.8229, allocations: 333.4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.823, allocations: 8.031 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.823, allocations: 4.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8232, allocations: 168.3 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.8232, allocations: 4.375 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8232, allocations: 8.359 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.8234, allocations: 46.23 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8234, allocations: 192 / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.8234, allocations: 7.938 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.8234, allocations: 0 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.8236, allocations: 27.97 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.824, allocations: 252.9 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.8242, allocations: 38.5 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.8243, allocations: 24.91 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.8243, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.8243, allocations: 38.55 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8243, allocations: 3.938 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003827/0.8247, allocations: 77.59 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8248, allocations: 55.34 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.8249, allocations: 105.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.8249, allocations: 25.7 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.641e-05/0.825, allocations: 88.27 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.825, allocations: 7.844 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.825, allocations: 17.7 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002229/0.8253, allocations: 314.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/0.8254, allocations: 19.98 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.8255, allocations: 15.98 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.8256, allocations: 44.88 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.8257, allocations: 0 / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.8259, allocations: 69.55 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8259, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8259, allocations: 3.984 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8259, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.826, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.826, allocations: 4.031 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.851e-05/0.8261, allocations: 7.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.8261, allocations: 0 / 1.021 GB, free: 14.89 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 8.315e-05/0.8262, allocations: 113.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.8262, allocations: 3.906 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.8265, allocations: 76.72 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8265, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8265, allocations: 3.984 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8265, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.8267, allocations: 157.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8267, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.8267, allocations: 11.98 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8268, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8268, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.827, allocations: 167.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.8271, allocations: 77.11 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.8271, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.8272, allocations: 11.92 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.8272, allocations: 8.125 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.8273, allocations: 4.031 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.8273, allocations: 87.27 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8273, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/0.8275, allocations: 7.938 kB / 1.021 GB, free: 14.07 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.0001538/0.8277, allocations: 99.23 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.8279, allocations: 31.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.828, allocations: 8.062 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.828, allocations: 19.97 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.8283, allocations: 9.344 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.8287, allocations: 117.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.829, allocations: 0.6729 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.8291, allocations: 8.047 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.8291, allocations: 11.44 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8291, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.003069/0.8322, allocations: 432.8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches