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.001625/0.001625, allocations: 106.1 kB / 15.98 MB, free: 6.285 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.00181/0.00181, allocations: 200.9 kB / 16.91 MB, free: 6.141 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.274/2.274, allocations: 390.3 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 70.58 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.002138/0.278, allocations: 0.7362 MB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.279, allocations: 0.8177 MB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.379e-05/0.2791, allocations: 0 / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.2791, allocations: 0 / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.675e-05/0.2792, allocations: 3.938 kB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.2794, allocations: 7.984 kB / 0.9513 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.89e-05/0.2795, allocations: 23.98 kB / 0.9513 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2796, allocations: 8 kB / 0.9513 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.2796, allocations: 7.984 kB / 0.9514 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.2797, allocations: 11.88 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.2797, allocations: 4 kB / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.2797, allocations: 0 / 0.9514 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.2797, allocations: 7.984 kB / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2798, allocations: 11.94 kB / 0.9514 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.213e-05/0.2799, allocations: 15.95 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2799, allocations: 0 / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2799, allocations: 4 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.2799, allocations: 0 / 0.9514 GB, free: 7.551 MB / 0.7325 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.000442/0.2803, allocations: 335.8 kB / 0.9517 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2804, allocations: 8.031 kB / 0.9517 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.2804, allocations: 4.938 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2805, allocations: 168.2 kB / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2806, allocations: 384 / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.2806, allocations: 8.375 kB / 0.9519 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2808, allocations: 50.23 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2808, allocations: 4.125 kB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2808, allocations: 7.938 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2808, allocations: 0 / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.281, allocations: 35.89 kB / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.2813, allocations: 240.9 kB / 0.9522 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.2815, allocations: 50.53 kB / 0.9523 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.2816, allocations: 16.91 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.2816, allocations: 0 / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2816, allocations: 30.56 kB / 0.9523 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.2816, allocations: 7.984 kB / 0.9523 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003499/0.282, allocations: 85.58 kB / 0.9524 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.282, allocations: 51.41 kB / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.2821, allocations: 105.8 kB / 0.9526 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.2821, allocations: 25.7 kB / 0.9526 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.2822, allocations: 80.14 kB / 0.9527 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.2822, allocations: 3.906 kB / 0.9527 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.2822, allocations: 21.84 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2824, allocations: 314.8 kB / 0.953 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.2824, allocations: 19.97 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.2825, allocations: 15.98 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.2827, allocations: 36.83 kB / 0.9531 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2827, allocations: 8 kB / 0.9531 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001826/0.2829, allocations: 65.59 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2829, allocations: 8 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2829, allocations: 4 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2829, allocations: 0 / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.283, allocations: 7.984 kB / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.283, allocations: 0 / 0.9532 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.2831, allocations: 16.02 kB / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2831, allocations: 0 / 0.9532 GB, free: 5.523 MB / 0.7325 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 6.725e-05/0.2832, allocations: 113.8 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.2832, allocations: 3.906 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2834, allocations: 76.72 kB / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2835, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2835, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2835, allocations: 4.031 kB / 0.9534 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.2836, allocations: 165.5 kB / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2836, allocations: 0 / 0.9535 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.2837, allocations: 8 kB / 0.9535 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2837, allocations: 0 / 0.9535 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2837, allocations: 3.984 kB / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2837, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2837, allocations: 0 / 0.9535 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.284, allocations: 171.4 kB / 0.9537 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.284, allocations: 77.11 kB / 0.9538 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.284, allocations: 0 / 0.9538 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.2841, allocations: 4 kB / 0.9538 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.2842, allocations: 7.984 kB / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.2842, allocations: 0 / 0.9538 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2842, allocations: 79.28 kB / 0.9538 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2842, allocations: 4.031 kB / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002176/0.2844, allocations: 8 kB / 0.9539 GB, free: 4.711 MB / 0.7325 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.0001438/0.2846, allocations: 95.25 kB / 0.954 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2848, allocations: 39.95 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2848, allocations: 0 / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.43e-05/0.2849, allocations: 23.98 kB / 0.954 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2852, allocations: 13.75 kB / 0.954 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.2855, allocations: 135.2 kB / 0.9542 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2858, allocations: 0.6805 MB / 0.9548 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2858, allocations: 7.438 kB / 0.9548 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2858, allocations: 4 kB / 0.9548 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of Templates: time 0.0018/0.2876, allocations: 0.5413 MB / 0.9554 GB, free: 3.113 MB / 0.7325 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