Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.804/2.804, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7012, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001843/0.703, allocations: 0.7316 MB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.7039, allocations: 0.7884 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.7039, allocations: 0 / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.704, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.704, allocations: 7.922 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.7042, allocations: 4 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.7042, allocations: 23.92 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.7043, allocations: 4 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.7044, allocations: 7.938 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.7044, allocations: 11.98 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.7045, allocations: 4 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.7045, allocations: 11.88 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.7045, allocations: 3.984 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.7045, allocations: 11.92 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.164e-05/0.7046, allocations: 15.97 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7046, allocations: 0 / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7046, allocations: 4 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.7046, allocations: 0 / 1.018 GB, free: 1.105 MB / 0.7637 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.0005168/0.7051, allocations: 337.5 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7052, allocations: 12.03 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.7052, allocations: 4.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.7054, allocations: 164.3 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.7054, allocations: 384 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.7054, allocations: 384 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.7056, allocations: 54.17 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.7056, allocations: 192 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.7056, allocations: 3.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.7057, allocations: 11.92 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.7058, allocations: 35.95 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.7062, allocations: 240.9 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.7064, allocations: 42.53 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.7065, allocations: 32.84 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.7065, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.7066, allocations: 30.56 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7066, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.7069, allocations: 81.64 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.707, allocations: 51.53 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.7071, allocations: 101.8 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7071, allocations: 25.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.7072, allocations: 92.08 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.7072, allocations: 3.906 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.7073, allocations: 13.72 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.7074, allocations: 318.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.7075, allocations: 15.97 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.7076, allocations: 19.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.7078, allocations: 36.83 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7078, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.708, allocations: 69.59 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.708, allocations: 4.094 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.708, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.708, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.7082, allocations: 11.98 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7082, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.7082, allocations: 15.83 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.7082, allocations: 0 / 1.02 GB, free: 15.08 MB / 0.7794 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 7.672e-05/0.7083, allocations: 117.8 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.7084, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.7086, allocations: 68.78 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.7086, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7086, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.7086, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.7088, allocations: 165.6 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7088, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.7089, allocations: 7.938 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.7089, allocations: 8.031 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.7089, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7089, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7089, allocations: 7.922 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.7092, allocations: 159.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.7092, allocations: 81.09 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.7092, allocations: 32 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.7093, allocations: 8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.7094, allocations: 3.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7094, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.7094, allocations: 79.28 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7094, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002095/0.7096, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 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.0001308/0.7098, allocations: 105.9 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.71, allocations: 43.89 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.71, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.7101, allocations: 19.98 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.7104, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.7107, allocations: 112.1 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.7109, allocations: 0.677 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.711, allocations: 7.938 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.711, allocations: 7.438 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.711, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.002613/0.7136, allocations: 377.5 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches