Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009142, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009221/0.0009221, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003006, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7085/0.7088, allocations: 142.3 MB / 0.9535 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.0009456/0.7098, allocations: 395.9 kB / 0.9539 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.7109, allocations: 0.7986 MB / 0.9547 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.7109, allocations: 1.594 kB / 0.9547 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.711, allocations: 3.938 kB / 0.9547 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.711, allocations: 4 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.7112, allocations: 14.42 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.7112, allocations: 11.73 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.785e-05/0.7113, allocations: 2.812 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.7114, allocations: 2.719 kB / 0.9547 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.7114, allocations: 19.75 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.7114, allocations: 1.188 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.7114, allocations: 1.531 kB / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.7115, allocations: 0 / 0.9547 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.7115, allocations: 26.77 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.186e-05/0.7115, allocations: 27.61 kB / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.7116, allocations: 0 / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7116, allocations: 0 / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.7116, allocations: 3.938 kB / 0.9548 GB, free: 6.992 MB / 0.7169 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.0003695/0.7119, allocations: 330.5 kB / 0.9551 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.712, allocations: 8.844 kB / 0.9551 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.712, allocations: 9.25 kB / 0.9551 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.7121, allocations: 164.5 kB / 0.9553 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.7121, allocations: 0 / 0.9553 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.7121, allocations: 5.625 kB / 0.9553 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.7123, allocations: 50.33 kB / 0.9553 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.7123, allocations: 0 / 0.9553 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7124, allocations: 4 kB / 0.9553 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.7124, allocations: 9.109 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.7126, allocations: 47.42 kB / 0.9554 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002805/0.7129, allocations: 248.6 kB / 0.9556 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.713, allocations: 44.34 kB / 0.9557 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.713, allocations: 1.438 kB / 0.9557 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.713, allocations: 30.56 kB / 0.9557 GB, free: 6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.713, allocations: 0 / 0.9557 GB, free: 6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000367/0.7134, allocations: 107.8 kB / 0.9558 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.7135, allocations: 55.41 kB / 0.9559 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.7135, allocations: 99.19 kB / 0.956 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-06/0.7135, allocations: 25.7 kB / 0.956 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.7136, allocations: 89.67 kB / 0.9561 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.7136, allocations: 9.25 kB / 0.9561 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.7136, allocations: 0 / 0.9561 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.7137, allocations: 316.2 kB / 0.9564 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.7137, allocations: 20.86 kB / 0.9564 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.7138, allocations: 22.61 kB / 0.9564 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.881e-05/0.7139, allocations: 21.73 kB / 0.9564 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7139, allocations: 1.219 kB / 0.9564 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.7141, allocations: 81.59 kB / 0.9565 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.7142, allocations: 9.938 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7142, allocations: 0 / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.7142, allocations: 1.156 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.7143, allocations: 11.89 kB / 0.9565 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7143, allocations: 5.359 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.7144, allocations: 9.688 kB / 0.9566 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.7144, allocations: 1.5 kB / 0.9566 GB, free: 5.227 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.7144, allocations: 115.3 kB / 0.9567 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.7145, allocations: 1.469 kB / 0.9567 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.7147, allocations: 78.75 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.7147, allocations: 1.031 kB / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7147, allocations: 0 / 0.9567 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7147, allocations: 5.141 kB / 0.9568 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.7148, allocations: 157.9 kB / 0.9569 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7149, allocations: 3.984 kB / 0.9569 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.7149, allocations: 8.594 kB / 0.9569 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7149, allocations: 3.938 kB / 0.9569 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.7149, allocations: 5.5 kB / 0.9569 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.715, allocations: 4.031 kB / 0.9569 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.715, allocations: 0 / 0.9569 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.7152, allocations: 176.9 kB / 0.9571 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.7152, allocations: 86.06 kB / 0.9572 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.7152, allocations: 1.375 kB / 0.9572 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.7153, allocations: 6.281 kB / 0.9572 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.7154, allocations: 4.641 kB / 0.9572 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.7154, allocations: 1.5 kB / 0.9572 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.7154, allocations: 81.75 kB / 0.9573 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7154, allocations: 0 / 0.9573 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002188/0.7156, allocations: 3.812 kB / 0.9573 GB, free: 4.492 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001227/0.7158, allocations: 110 kB / 0.9574 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.716, allocations: 45.61 kB / 0.9574 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.716, allocations: 1.156 kB / 0.9574 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.7161, allocations: 27.77 kB / 0.9575 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.7163, allocations: 2.906 kB / 0.9575 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.7166, allocations: 107.6 kB / 0.9576 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.7167, allocations: 0.6792 MB / 0.9582 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.7167, allocations: 5.344 kB / 0.9582 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.7167, allocations: 7.438 kB / 0.9582 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7167, allocations: 5.219 kB / 0.9582 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002232/0.719, allocations: 347.2 kB / 0.9586 GB, free: 3.352 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches