Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00757/0.00757, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001759/0.001759, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.503/1.503, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 64.03 kB / 0.8991 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3307, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002578/0.3333, allocations: 0.7339 MB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3344, allocations: 0.8079 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.3345, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.3345, allocations: 0 / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.393e-05/0.3347, allocations: 3.984 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.3348, allocations: 15.92 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.3349, allocations: 15.94 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3351, allocations: 15.98 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.3351, allocations: 7.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.3352, allocations: 15.92 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3352, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.3352, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.3352, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.3353, allocations: 11.94 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.214e-05/0.3354, allocations: 23.95 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3354, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.3354, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.3354, allocations: 0 / 1.054 GB, free: 6.613 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005391/0.3359, allocations: 335.7 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.336, allocations: 15.97 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.336, allocations: 8.844 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3362, allocations: 164.4 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3362, allocations: 4.375 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3362, allocations: 384 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3364, allocations: 50.23 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3365, allocations: 192 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3365, allocations: 7.938 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3365, allocations: 0 / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3367, allocations: 35.91 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.337, allocations: 245 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3372, allocations: 42.5 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.3373, allocations: 16.91 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.3373, allocations: 0 / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.3374, allocations: 42.5 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3374, allocations: 0 / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.3378, allocations: 81.67 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3378, allocations: 55.41 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.3379, allocations: 101.8 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3379, allocations: 25.7 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.338, allocations: 84.14 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.338, allocations: 7.844 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3381, allocations: 13.72 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3382, allocations: 314.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3383, allocations: 24.02 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.945e-05/0.3384, allocations: 11.98 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3385, allocations: 48.75 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3385, allocations: 4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002024/0.3387, allocations: 69.58 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3388, allocations: 8 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3388, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3388, allocations: 3.984 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.3389, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3389, allocations: 4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.339, allocations: 3.984 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.339, allocations: 4 kB / 1.056 GB, free: 4.586 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 (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.044e-05/0.3391, allocations: 113.8 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3391, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.3393, allocations: 76.72 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3393, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3393, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3393, allocations: 3.984 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3395, allocations: 157.6 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3395, allocations: 32 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-05/0.3396, allocations: 16.17 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3396, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3396, allocations: 3.984 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.3399, allocations: 171.4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.3399, allocations: 77.11 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3399, allocations: 4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.34, allocations: 7.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3401, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3401, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.3401, allocations: 83.28 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.633e-06/0.3401, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002165/0.3403, allocations: 11.88 kB / 1.057 GB, free: 3.777 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 (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.0001516/0.3405, allocations: 107.2 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3407, allocations: 35.97 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3407, allocations: 0 / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3408, allocations: 27.91 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3412, allocations: 3.938 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.3415, allocations: 144.8 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.3418, allocations: 0.677 MB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3418, allocations: 7.438 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3418, allocations: 0 / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of Templates: time 0.001953/0.3438, allocations: 0.5381 MB / 1.058 GB, free: 2.176 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches