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.00555/0.005554, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001319/0.001319, allocations: 192.7 kB / 16.79 MB, free: 5.809 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 / 240.5 MB, free: 4.535 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.408/2.408, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7206, allocations: 140.3 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001779/0.7224, allocations: 0.7249 MB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.7232, allocations: 0.8089 MB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.7233, allocations: 0 / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.7233, allocations: 3.938 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.7234, allocations: 1.375 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.7235, allocations: 13.34 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.7236, allocations: 21.55 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.7237, allocations: 10.75 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.7238, allocations: 6.688 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.7238, allocations: 12.11 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.7238, allocations: 1.375 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.7238, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.7239, allocations: 5.312 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.7239, allocations: 6.75 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.585e-05/0.724, allocations: 14.72 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.724, allocations: 0 / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.724, allocations: 3.938 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.724, allocations: 5.312 kB / 0.9512 GB, free: 7.891 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.0003779/0.7244, allocations: 338.5 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7244, allocations: 13.61 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.7245, allocations: 6.312 kB / 0.9515 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.152e-05/0.7245, allocations: 177.6 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.7246, allocations: 1.75 kB / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.7246, allocations: 384 / 0.9517 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.7247, allocations: 50.61 kB / 0.9518 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7248, allocations: 4.188 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7248, allocations: 3.938 kB / 0.9518 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7248, allocations: 1.375 kB / 0.9518 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.7249, allocations: 33.42 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.7252, allocations: 242.1 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.7253, allocations: 47.03 kB / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.537e-05/0.7254, allocations: 17.94 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.7255, allocations: 5.328 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.7255, allocations: 34.56 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7255, allocations: 0 / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003186/0.7258, allocations: 80.58 kB / 0.9522 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.7258, allocations: 56.5 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.7259, allocations: 99.58 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.7259, allocations: 25.7 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.7259, allocations: 81.05 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.726, allocations: 17.39 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.726, allocations: 11.09 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.7261, allocations: 316.3 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.7261, allocations: 16.42 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.7262, allocations: 13.64 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.7263, allocations: 43.56 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7263, allocations: 1.25 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001618/0.7265, allocations: 75.53 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7265, allocations: 5.156 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7265, allocations: 0 / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7265, allocations: 1.188 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.7266, allocations: 6.469 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7267, allocations: 3.938 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.7267, allocations: 7.609 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.7267, allocations: 1 kB / 0.953 GB, free: 6.07 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 4.715e-05/0.7268, allocations: 115.1 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.7268, allocations: 5.75 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.727, allocations: 73.42 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.727, allocations: 1.375 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.727, allocations: 3.938 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.727, allocations: 1.281 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.7271, allocations: 169.1 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7272, allocations: 0 / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.192e-05/0.7272, allocations: 10.83 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7272, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.7272, allocations: 1.469 kB / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7272, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7272, allocations: 0 / 0.9533 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.7274, allocations: 167.8 kB / 0.9535 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.7275, allocations: 77.3 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.7275, allocations: 1.344 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.7276, allocations: 11.44 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.7276, allocations: 1.062 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.7276, allocations: 1 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.7276, allocations: 86.39 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7276, allocations: 0 / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.7279, allocations: 8.406 kB / 0.9537 GB, free: 5.324 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.0001213/0.728, allocations: 101.2 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.7282, allocations: 33.53 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7282, allocations: 0 / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.7283, allocations: 24.19 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.7286, allocations: 9.469 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.7289, allocations: 132.6 kB / 0.9539 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.729, allocations: 0.6769 MB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.729, allocations: 8.594 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.729, allocations: 1.156 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of Templates: time 0.001726/0.7307, allocations: 0.5454 MB / 0.9551 GB, free: 4.074 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