Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_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_10_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.001535/0.001535, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001722/0.001722, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 68.5 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3062, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00221/0.3084, allocations: 0.665 MB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.3094, allocations: 0.8196 MB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.3095, allocations: 0 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.3095, allocations: 3.938 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.3096, allocations: 3.938 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.3098, allocations: 15.98 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.3098, allocations: 15.94 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3099, allocations: 15.97 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.31, allocations: 7.938 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.3101, allocations: 11.98 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3101, allocations: 0 / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.3101, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3101, allocations: 7.938 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.3101, allocations: 4 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.963e-05/0.3102, allocations: 27.89 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3102, allocations: 4 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3103, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3103, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 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.0004428/0.3107, allocations: 339.4 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3108, allocations: 8.922 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3108, allocations: 8.844 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3109, allocations: 160.4 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3109, allocations: 384 / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.311, allocations: 4.375 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3111, allocations: 54.17 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3112, allocations: 192 / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3112, allocations: 11.88 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3112, allocations: 3.938 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3114, allocations: 31.95 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.3117, allocations: 249 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.3118, allocations: 42.44 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.3119, allocations: 28.89 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.312, allocations: 0 / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.312, allocations: 30.56 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.312, allocations: 4 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003185/0.3123, allocations: 77.64 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3124, allocations: 51.41 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.3124, allocations: 97.86 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3125, allocations: 29.7 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.3125, allocations: 92.06 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.3125, allocations: 8.031 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3126, allocations: 13.72 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3127, allocations: 314.8 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.3128, allocations: 11.98 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.3128, allocations: 19.97 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.313, allocations: 40.89 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.313, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.3132, allocations: 73.5 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3132, allocations: 4 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3132, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3132, allocations: 4 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.3133, allocations: 11.92 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3133, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.3134, allocations: 8.031 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3134, allocations: 0 / 1.022 GB, free: 6.195 MB / 0.795 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.368e-05/0.3135, allocations: 114.4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3135, allocations: 3.984 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.3137, allocations: 68.78 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3137, allocations: 4 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3137, allocations: 8.031 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3138, allocations: 192 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3139, allocations: 157.6 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3139, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.314, allocations: 11.92 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.314, allocations: 7.984 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.314, allocations: 0 / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.314, allocations: 3.938 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.314, allocations: 0 / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.3142, allocations: 171.4 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.3143, allocations: 77.11 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3143, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3144, allocations: 7.984 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3144, allocations: 4 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3144, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.3145, allocations: 91.3 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3145, allocations: 0 / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002099/0.3147, allocations: 7.938 kB / 1.023 GB, free: 5.371 MB / 0.795 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.0001161/0.3148, allocations: 95.25 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001896/0.315, allocations: 39.89 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.315, allocations: 4 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.3151, allocations: 20.05 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3154, allocations: 10.75 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3157, allocations: 110.1 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.316, allocations: 0.6768 MB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.3161, allocations: 0 / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.3161, allocations: 7.438 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.3161, allocations: 4.062 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Templates: time 0.00268/0.3188, allocations: 455.7 kB / 1.024 GB, free: 3.914 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches