Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00109/0.00109, allocations: 109 kB / 16.41 MB, free: 6.5 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.00118/0.00118, allocations: 183 kB / 17.34 MB, free: 5.762 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 1.066 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8024, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001708/0.8042, allocations: 0.6579 MB / 1.222 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007995/0.805, allocations: 0.7922 MB / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.805, allocations: 0 / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.8051, allocations: 3.938 kB / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.8051, allocations: 0 / 1.222 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/0.8053, allocations: 19.92 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.589e-05/0.8054, allocations: 19.98 kB / 1.222 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.8055, allocations: 12 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.8056, allocations: 11.88 kB / 1.222 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.8056, allocations: 15.91 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.8056, allocations: 4 kB / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.8056, allocations: 0 / 1.222 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.8057, allocations: 8 kB / 1.222 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.8057, allocations: 7.922 kB / 1.222 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.8058, allocations: 19.91 kB / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8058, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8058, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8058, allocations: 0 / 1.222 GB, free: 0.7148 MB / 0.9356 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.0004316/0.8062, allocations: 349.8 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.8063, allocations: 8.625 kB / 1.223 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.8063, allocations: 0.9375 kB / 1.223 GB, free: 328 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.8064, allocations: 168.4 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8065, allocations: 4.375 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.8065, allocations: 384 / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.8066, allocations: 54.17 kB / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8066, allocations: 192 / 1.223 GB, free: 56 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8067, allocations: 7.938 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.8067, allocations: 0 / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.8068, allocations: 35.95 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.8071, allocations: 244.9 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.8073, allocations: 46.48 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.8074, allocations: 20.91 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.8074, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.8074, allocations: 34.56 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8074, allocations: 0 / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003297/0.8078, allocations: 81.73 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.8078, allocations: 55.41 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.8079, allocations: 97.86 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8079, allocations: 33.62 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.808, allocations: 88.12 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.808, allocations: 7.906 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.808, allocations: 9.719 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8081, allocations: 314.8 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.8082, allocations: 24 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.8083, allocations: 15.92 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.8085, allocations: 36.83 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8085, allocations: 0 / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.8087, allocations: 77.66 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.8087, allocations: 4 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8087, allocations: 0 / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8087, allocations: 3.938 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.8088, allocations: 11.98 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.8089, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.8089, allocations: 4 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.8089, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 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.755e-05/0.809, allocations: 125.7 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.809, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.8093, allocations: 68.78 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8093, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.8093, allocations: 4 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.8093, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.8095, allocations: 161.5 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8095, allocations: 3.984 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.8096, allocations: 12.03 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.8096, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.8096, allocations: 4 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8096, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8096, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.8099, allocations: 167.6 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.8099, allocations: 90.94 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.81, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.81, allocations: 4 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.8101, allocations: 3.984 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.8101, allocations: 4 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8102, allocations: 83.22 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8102, allocations: 0 / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002177/0.8104, allocations: 4 kB / 1.225 GB, free: 13.87 MB / 0.9512 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.0001844/0.8106, allocations: 107.2 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.8108, allocations: 39.89 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8108, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.8109, allocations: 19.98 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.8112, allocations: 7.938 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.8115, allocations: 142 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.8118, allocations: 0.6768 MB / 1.226 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.8118, allocations: 11.44 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.8118, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.002148/0.814, allocations: 0.5369 MB / 1.226 GB, free: 12.27 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches