Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001574/0.001574, allocations: 187 kB / 17.34 MB, free: 5.766 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.613/1.613, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 63.89 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9306/0.9322, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001816/0.934, allocations: 0.6649 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008642/0.9349, allocations: 0.792 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.935, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.935, allocations: 0 / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.551e-05/0.9351, allocations: 17.77 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.9352, allocations: 3.125 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.752e-05/0.9353, allocations: 28.83 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.9354, allocations: 8.688 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.9355, allocations: 5.219 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.9356, allocations: 13.53 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.9356, allocations: 1.375 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.9356, allocations: 2.812 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.9356, allocations: 5.125 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.9356, allocations: 15.34 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.442e-05/0.9357, allocations: 28.78 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9357, allocations: 5.125 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9358, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9358, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 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.0003909/0.9362, allocations: 328.8 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.9362, allocations: 9.938 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.9362, allocations: 6.125 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.9363, allocations: 171.1 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.9363, allocations: 5.219 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.9364, allocations: 5.125 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.9365, allocations: 48.95 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.9365, allocations: 0.9062 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.9366, allocations: 4.594 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.9366, allocations: 0.9688 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.9367, allocations: 32.44 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.937, allocations: 250.3 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.9372, allocations: 44.75 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.9373, allocations: 19.56 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.9373, allocations: 1.062 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.9373, allocations: 40.3 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.9373, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003486/0.9377, allocations: 75.31 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.9377, allocations: 53.06 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.9378, allocations: 104.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.9378, allocations: 27.05 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.726e-05/0.9378, allocations: 89.56 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.9378, allocations: 5.578 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.9379, allocations: 12.56 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.9379, allocations: 313.1 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.938, allocations: 17.41 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.9381, allocations: 14.67 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.9383, allocations: 41.5 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9383, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.9385, allocations: 75.48 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.9385, allocations: 4.922 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.9385, allocations: 4.969 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9385, allocations: 8.484 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.9386, allocations: 12.69 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.9387, allocations: 1.672 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.9387, allocations: 5.109 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.9387, allocations: 1.625 kB / 1.092 GB, free: 2.695 MB / 0.8575 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 5.51e-05/0.9388, allocations: 112.4 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.9388, allocations: 5.031 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.939, allocations: 75.47 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.9391, allocations: 0.6094 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9391, allocations: 1.156 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.9391, allocations: 0 / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.9392, allocations: 159.6 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.9392, allocations: 0.7969 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.9393, allocations: 12.7 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9393, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9393, allocations: 5.609 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.9393, allocations: 1.031 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9393, allocations: 4.031 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.9395, allocations: 162.6 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.9395, allocations: 83.22 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.9396, allocations: 0.6875 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.9396, allocations: 6.031 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.9397, allocations: 6.531 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.9397, allocations: 1.062 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.9397, allocations: 84.06 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9397, allocations: 0 / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002066/0.9399, allocations: 3.781 kB / 1.093 GB, free: 2 MB / 0.8575 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.0001412/0.9401, allocations: 101.4 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.9403, allocations: 42.95 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9403, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.9404, allocations: 20.89 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.9407, allocations: 7.234 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.941, allocations: 128.5 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.9411, allocations: 0.6759 MB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.9411, allocations: 9.25 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of SimCode: time 7.42e-07/0.9411, allocations: 4.125 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of Templates: time 0.001874/0.943, allocations: 0.5412 MB / 1.094 GB, free: 1.02 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches