Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001896/0.003126, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 157.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001825/0.003041, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.109, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.957/1.957, allocations: 378.4 MB / 0.6079 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5461/2.503, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.183e-05, allocations: 4.625 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002355/0.002387, allocations: 0.7297 MB / 0.7304 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009925/0.00338, allocations: 0.8448 MB / 0.7313 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.003403, allocations: 1.312 kB / 0.7313 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.003428, allocations: 0.6562 kB / 0.7313 GB, free: 2.828 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.003469, allocations: 4.922 kB / 0.7313 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.843e-05/0.003567, allocations: 13.44 kB / 0.7313 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.003644, allocations: 24.47 kB / 0.7313 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.003726, allocations: 9.031 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.003825, allocations: 22.27 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.196e-05/0.003877, allocations: 12.08 kB / 0.7313 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.003893, allocations: 4 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.003964, allocations: 4 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.003984, allocations: 5.641 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.811e-05/0.004002, allocations: 4.984 kB / 0.7314 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.004115, allocations: 21.45 kB / 0.7314 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.00413, allocations: 0 / 0.7314 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004131, allocations: 0 / 0.7314 GB, free: 2.723 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.004149, allocations: 0 / 0.7314 GB, free: 2.723 MB / 0.698 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.0004268/0.004575, allocations: 230.1 kB / 0.7316 GB, free: 2.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.004617, allocations: 12.84 kB / 0.7316 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.004772, allocations: 85.97 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.004878, allocations: 119.1 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.004891, allocations: 4.375 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.004914, allocations: 4.375 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.005034, allocations: 47.48 kB / 0.7319 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005041, allocations: 4.188 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.005048, allocations: 2.688 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.005054, allocations: 384 / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.005078, allocations: 11.92 kB / 0.7319 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.005299, allocations: 144.3 kB / 0.732 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/0.005351, allocations: 19.72 kB / 0.732 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.005366, allocations: 8.844 kB / 0.732 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.005382, allocations: 0.5 kB / 0.732 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.005409, allocations: 36.22 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.00541, allocations: 0.7656 kB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001261/0.005536, allocations: 37.64 kB / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.005567, allocations: 56 kB / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.005644, allocations: 106.7 kB / 0.7323 GB, free: 1.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.005656, allocations: 27.02 kB / 0.7323 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.005691, allocations: 88.14 kB / 0.7324 GB, free: 1.555 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.005708, allocations: 3.953 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.005738, allocations: 18.36 kB / 0.7324 GB, free: 1.527 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.005825, allocations: 316.4 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-06/0.005834, allocations: 0 / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.005843, allocations: 4 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.005872, allocations: 10.2 kB / 0.7327 GB, free: 1.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.005876, allocations: 4 kB / 0.7327 GB, free: 1.191 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.901e-05/0.005935, allocations: 42.5 kB / 0.7328 GB, free: 1.145 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.005948, allocations: 4.656 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.005952, allocations: 1.125 kB / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.005965, allocations: 0 / 0.7328 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.006041, allocations: 7.938 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.006046, allocations: 12.94 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.006066, allocations: 0 / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-06/0.00607, allocations: 0 / 0.7328 GB, free: 1.121 MB / 0.698 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.895e-05/0.006129, allocations: 115.3 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.006147, allocations: 0.625 kB / 0.7329 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.006222, allocations: 45.84 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.006224, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.006227, allocations: 3.938 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.00623, allocations: 0.5 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.006331, allocations: 72.2 kB / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006333, allocations: 0 / 0.733 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.006367, allocations: 4 kB / 0.733 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.006376, allocations: 11.89 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.006378, allocations: 1.344 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.006383, allocations: 4.172 kB / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.006384, allocations: 0 / 0.733 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.006387, allocations: 4.703 kB / 0.733 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006508, allocations: 136.8 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006519, allocations: 3.984 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.006569, allocations: 1.25 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.006601, allocations: 4 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.006603, allocations: 0 / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.554e-05/0.006619, allocations: 20.72 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.006619, allocations: 1.609 kB / 0.7332 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001788/0.006797, allocations: 4 kB / 0.7332 GB, free: 0.6484 MB / 0.698 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 8.922e-05/0.006887, allocations: 73.98 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.172e-05/0.006948, allocations: 17.41 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.006954, allocations: 0.9062 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.006976, allocations: 9.844 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.007179, allocations: 39.53 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.007913, allocations: 118.9 kB / 0.7334 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.007953, allocations: 55.34 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.007972, allocations: 0.75 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.008024, allocations: 53.34 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of SimCode: time 4.3e-07/0.008024, allocations: 0 / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of Templates: time 0.002313/0.01034, allocations: 482.5 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.982996926642954]