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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002748/0.002748, allocations: 186.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 443.5 MB / 0.7322 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.062 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9865/0.9885, allocations: 160.8 MB / 1.219 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002209/0.9907, allocations: 0.6667 MB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.992, allocations: 0.8137 MB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.9921, allocations: 1.156 kB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.9921, allocations: 4 kB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.9922, allocations: 5.25 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001728/0.9924, allocations: 5.188 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.9924, allocations: 26.14 kB / 1.22 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.9926, allocations: 18.53 kB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.9927, allocations: 10.44 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.9927, allocations: 11.95 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.9927, allocations: 0.875 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.9927, allocations: 2.625 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.9927, allocations: 0 / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.9928, allocations: 14.62 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.9929, allocations: 27.58 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9929, allocations: 1.188 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9929, allocations: 0 / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.9929, allocations: 3.938 kB / 1.22 GB, free: 2.523 MB / 0.92 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.0006046/0.9935, allocations: 337.9 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9936, allocations: 10.25 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.9936, allocations: 0.9375 kB / 1.22 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.9938, allocations: 169.7 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9938, allocations: 5.375 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.9938, allocations: 6.094 kB / 1.221 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.994, allocations: 49.22 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.994, allocations: 192 / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.9941, allocations: 9.188 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9941, allocations: 0 / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.9942, allocations: 30.81 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.9947, allocations: 256.9 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.9949, allocations: 38.25 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.308e-05/0.9949, allocations: 22.06 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.995, allocations: 1.219 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.995, allocations: 35.94 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.995, allocations: 0 / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.9954, allocations: 87.73 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.9954, allocations: 52.56 kB / 1.221 GB, free: 1.375 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.9955, allocations: 101.9 kB / 1.221 GB, free: 1.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.9956, allocations: 26.7 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.9956, allocations: 85.61 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.9956, allocations: 5.203 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.9957, allocations: 15.09 kB / 1.221 GB, free: 1.129 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.9958, allocations: 316.1 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.9959, allocations: 17.67 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.996, allocations: 13.23 kB / 1.222 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.9962, allocations: 43.94 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9962, allocations: 0 / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.9963, allocations: 76.5 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.9964, allocations: 4.656 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.9964, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9964, allocations: 1.094 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.9965, allocations: 13.86 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.9965, allocations: 0.8438 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.9966, allocations: 11.39 kB / 1.222 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.9966, allocations: 5.297 kB / 1.222 GB, free: 0.6953 MB / 0.92 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 9.947e-05/0.9967, allocations: 119.1 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.9967, allocations: 1.094 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.9969, allocations: 78.16 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.997, allocations: 1.125 kB / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.997, allocations: 0 / 1.222 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.997, allocations: 5.078 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.9972, allocations: 158.1 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9972, allocations: 0 / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.9972, allocations: 10.2 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9972, allocations: 0 / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.9972, allocations: 1.156 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9972, allocations: 0 / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.9972, allocations: 0 / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.9975, allocations: 167.4 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.9975, allocations: 82.16 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9975, allocations: 1.062 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.9976, allocations: 15.11 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.9977, allocations: 1.031 kB / 1.222 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.9977, allocations: 9.125 kB / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.9977, allocations: 78.72 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9977, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002129/0.998, allocations: 7.969 kB / 1.223 GB, free: 15.95 MB / 0.9356 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.0001489/0.9981, allocations: 97.08 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.9983, allocations: 33.25 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9983, allocations: 4.062 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.9984, allocations: 18.62 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.9987, allocations: 12.75 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.9991, allocations: 113.8 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.9995, allocations: 0.6725 MB / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.9995, allocations: 9.391 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.9996, allocations: 8.562 kB / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.9996, allocations: 0 / 1.223 GB, free: 15 MB / 0.9356 GB Notification: Performance of Templates: time 0.003232/1.003, allocations: 449.3 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.173086615279317]