Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 104.8 kB / 16.41 MB, free: 6.516 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.001807/0.001807, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.381/1.381, 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 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.89 kB / 0.9516 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8916/0.8932, 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.Acos): time 0.001824/0.8951, allocations: 0.6656 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.8959, allocations: 0.8054 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.896, allocations: 0 / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.896, allocations: 9.672 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.8961, allocations: 0 / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.8962, allocations: 9.156 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.8963, allocations: 28.64 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8964, allocations: 7.562 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.8965, allocations: 5.094 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.8965, allocations: 13.5 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.8966, allocations: 2.156 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.8966, allocations: 2.25 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.8966, allocations: 10.28 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.8966, allocations: 10.72 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.8967, allocations: 24.97 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8967, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8967, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8967, allocations: 0.8125 kB / 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.0003776/0.8971, allocations: 332.6 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.8972, allocations: 9 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.8972, allocations: 7.609 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.8973, allocations: 170.3 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8973, allocations: 5.75 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.8973, allocations: 2.344 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.8975, allocations: 48.69 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.8975, allocations: 192 / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8975, allocations: 3.938 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.8975, allocations: 1.281 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.8977, allocations: 37.16 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.898, allocations: 245.4 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.8981, allocations: 48.27 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.8982, allocations: 19.97 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.8982, allocations: 1.797 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8983, allocations: 35.53 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8983, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003504/0.8986, allocations: 84.27 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.8987, allocations: 52.16 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.8987, allocations: 100.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.8987, allocations: 26.95 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.8988, allocations: 89.31 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.8988, allocations: 5.156 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.8988, allocations: 13.64 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.8989, allocations: 317.5 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.899, allocations: 21.58 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.899, allocations: 14.36 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8992, allocations: 45.45 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8992, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.8994, allocations: 74.42 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8994, allocations: 5.938 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8994, allocations: 3.938 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.8995, allocations: 1.156 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.8996, allocations: 13.19 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8996, allocations: 0 / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.8996, allocations: 6.359 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.8997, allocations: 1.375 kB / 1.092 GB, free: 2.688 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 4.848e-05/0.8997, allocations: 111.8 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.8997, allocations: 1.969 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.9, allocations: 78.5 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.9, allocations: 1.062 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9, allocations: 0.5625 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9, allocations: 1.156 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.9001, allocations: 159.5 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9001, allocations: 0.7969 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.9002, allocations: 8.125 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.9002, allocations: 1.094 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.9002, allocations: 0 / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.9002, allocations: 1.641 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.9002, allocations: 4.031 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.9004, allocations: 166.8 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.9005, allocations: 82.98 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.9005, allocations: 1.656 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.9006, allocations: 5.156 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.9006, allocations: 6.75 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.9006, allocations: 0.9688 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.393e-05/0.9006, allocations: 84.3 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9006, allocations: 1.094 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002096/0.9009, allocations: 3.219 kB / 1.093 GB, free: 1.996 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.0001186/0.901, allocations: 100.6 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.9012, allocations: 39.25 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9012, allocations: 1.156 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.9013, allocations: 24.36 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.9016, allocations: 6.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.9019, allocations: 134.7 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.902, allocations: 0.6765 MB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/0.902, allocations: 12.62 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.902, allocations: 3.938 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of Templates: time 0.002052/0.9041, allocations: 0.5414 MB / 1.094 GB, free: 1.008 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches