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.0008353/0.0008355, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009354/0.0009355, allocations: 185.9 kB / 16.92 MB, free: 6.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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.731/2.731, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6519, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.0009362/0.6529, allocations: 410.2 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000938/0.6539, allocations: 0.8001 MB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.6539, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.654, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.416e-05/0.654, allocations: 3.938 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.6542, allocations: 15.97 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.6543, allocations: 23.94 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.6544, allocations: 3.984 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.6544, allocations: 11.94 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.6545, allocations: 7.984 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.6545, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.6545, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.6546, allocations: 7.938 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.6546, allocations: 29.7 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.863e-05/0.6547, allocations: 11.97 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6547, allocations: 4 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6547, allocations: 0 / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.6547, allocations: 3.938 kB / 1.025 GB, free: 14.54 MB / 0.7794 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.0004228/0.6551, allocations: 341.5 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.6552, allocations: 8.031 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.6552, allocations: 4.938 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.6553, allocations: 172.3 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.6554, allocations: 4.375 kB / 1.026 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.6554, allocations: 4.375 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6556, allocations: 58.17 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6556, allocations: 192 / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.6556, allocations: 3.938 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6556, allocations: 3.984 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.6558, allocations: 43.97 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.6562, allocations: 245 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.6563, allocations: 50.44 kB / 1.026 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.77e-05/0.6564, allocations: 28.91 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.6565, allocations: 0 / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6565, allocations: 38.55 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6565, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000377/0.6569, allocations: 93.66 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6569, allocations: 51.41 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.657, allocations: 102 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.657, allocations: 33.64 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.6571, allocations: 92.02 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.6571, allocations: 3.906 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.6571, allocations: 9.719 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.6572, allocations: 318.8 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.073e-05/0.6573, allocations: 23.98 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.6574, allocations: 19.98 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.6576, allocations: 56.88 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6576, allocations: 0 / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002142/0.6578, allocations: 73.61 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6579, allocations: 6.031 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6579, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6579, allocations: 4.031 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.586e-05/0.658, allocations: 15.92 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.658, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.6581, allocations: 11.92 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.6581, allocations: 0 / 1.027 GB, free: 12.43 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 7.159e-05/0.6581, allocations: 117.8 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.6582, allocations: 3.906 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/0.6584, allocations: 80.78 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6584, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6584, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6585, allocations: 3.984 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.6586, allocations: 161.6 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6586, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.6587, allocations: 15.98 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6587, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.6587, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6587, allocations: 7.938 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6587, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.659, allocations: 175.5 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.6591, allocations: 81.11 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.6591, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.6592, allocations: 7.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.6592, allocations: 8.031 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.6592, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.6593, allocations: 83.28 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6593, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002221/0.6595, allocations: 4 kB / 1.028 GB, free: 11.6 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.0001384/0.6596, allocations: 103.2 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.6599, allocations: 51.91 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6599, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.66, allocations: 31.91 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.6603, allocations: 7.938 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.6606, allocations: 140.7 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.6608, allocations: 0.6808 MB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.6609, allocations: 11.44 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.6609, allocations: 0 / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.001877/0.6628, allocations: 0.5308 MB / 1.029 GB, free: 9.98 MB / 0.7794 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 -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