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.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.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.000991/0.0009911, allocations: 91.77 kB / 16.02 MB, free: 80 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.001247/0.001247, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.281 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.428/2.428, allocations: 390.9 MB / 0.667 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004164, allocations: 12 kB / 0.8166 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8282, allocations: 142.4 MB / 0.9557 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.0008784/0.8291, allocations: 397.2 kB / 0.9561 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.8299, allocations: 0.8116 MB / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.83, allocations: 0 / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.83, allocations: 0 / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.8301, allocations: 5.047 kB / 0.9569 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.8302, allocations: 9.938 kB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.8303, allocations: 17.2 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.8304, allocations: 2.188 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.8305, allocations: 11.69 kB / 0.9569 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.8305, allocations: 10.73 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.8305, allocations: 1.125 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.8306, allocations: 1.156 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.8306, allocations: 13.14 kB / 0.957 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.8306, allocations: 34.66 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.295e-05/0.8307, allocations: 14.91 kB / 0.957 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8307, allocations: 5.062 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.8307, allocations: 0 / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8307, allocations: 0 / 0.957 GB, free: 6.715 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.0003699/0.8311, allocations: 341.4 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.8311, allocations: 9.562 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.8312, allocations: 2 kB / 0.9574 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.8312, allocations: 162.4 kB / 0.9575 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.8313, allocations: 1.438 kB / 0.9575 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8313, allocations: 1.469 kB / 0.9575 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8315, allocations: 58.02 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.8315, allocations: 192 / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.8315, allocations: 5.125 kB / 0.9576 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.8315, allocations: 4 kB / 0.9576 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.8317, allocations: 52.33 kB / 0.9576 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.832, allocations: 248.9 kB / 0.9579 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.8321, allocations: 44.22 kB / 0.9579 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.8322, allocations: 35.3 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.8322, allocations: 1.062 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.8323, allocations: 31.62 kB / 0.958 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.8323, allocations: 0 / 0.958 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.8326, allocations: 102.6 kB / 0.9581 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.8327, allocations: 52.75 kB / 0.9581 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.8327, allocations: 98.42 kB / 0.9582 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.8327, allocations: 25.7 kB / 0.9582 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.8328, allocations: 85.53 kB / 0.9583 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.8328, allocations: 12.91 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.8328, allocations: 10.84 kB / 0.9583 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.8329, allocations: 316 kB / 0.9586 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.833, allocations: 18.05 kB / 0.9587 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.788e-05/0.8331, allocations: 29.78 kB / 0.9587 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.8332, allocations: 45.48 kB / 0.9587 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8332, allocations: 3.938 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.8334, allocations: 82.59 kB / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8335, allocations: 5.406 kB / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.8335, allocations: 0 / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8335, allocations: 0 / 0.9588 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.8336, allocations: 13.23 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8336, allocations: 4.031 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.8336, allocations: 6.094 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.8337, allocations: 5.312 kB / 0.9589 GB, free: 4.895 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.8337, allocations: 114.8 kB / 0.959 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.8337, allocations: 5.109 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.834, allocations: 84.19 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.834, allocations: 1.125 kB / 0.959 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.834, allocations: 3.984 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.834, allocations: 1.281 kB / 0.9591 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.8342, allocations: 161.3 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8342, allocations: 0 / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.8342, allocations: 20.52 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8342, allocations: 1.375 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.8342, allocations: 0 / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8343, allocations: 3.938 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8343, allocations: 1.438 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.8345, allocations: 176.2 kB / 0.9594 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.8345, allocations: 79.05 kB / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.8345, allocations: 0 / 0.9595 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.8346, allocations: 9.609 kB / 0.9595 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.8346, allocations: 5.906 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.8347, allocations: 0 / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.182e-05/0.8347, allocations: 83.02 kB / 0.9596 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8347, allocations: 4.031 kB / 0.9596 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002075/0.8349, allocations: 4.031 kB / 0.9596 GB, free: 4.148 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 (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.000119/0.835, allocations: 97.66 kB / 0.9597 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.8353, allocations: 51.27 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8353, allocations: 0 / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.8354, allocations: 23.77 kB / 0.9597 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.8357, allocations: 9.344 kB / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.8359, allocations: 138.3 kB / 0.9599 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.8361, allocations: 0.6727 MB / 0.9605 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.8361, allocations: 8.781 kB / 0.9606 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.8361, allocations: 0 / 0.9606 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of Templates: time 0.00197/0.8381, allocations: 0.543 MB / 0.9611 GB, free: 2.898 MB / 0.7169 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