Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 16 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6965/0.6969, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin): time 0.0008309/0.6978, allocations: 401.9 kB / 0.9561 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.6987, allocations: 0.7791 MB / 0.9569 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.6988, allocations: 5.312 kB / 0.9569 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.6988, allocations: 3.938 kB / 0.9569 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.6989, allocations: 4 kB / 0.9569 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.699, allocations: 6.391 kB / 0.9569 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.6991, allocations: 28.5 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.6992, allocations: 2.688 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.6993, allocations: 12 kB / 0.9569 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.6993, allocations: 10.08 kB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.6993, allocations: 1.406 kB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.227e-06/0.6994, allocations: 0.7188 kB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.6994, allocations: 1.438 kB / 0.9569 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.6994, allocations: 35.11 kB / 0.957 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.6995, allocations: 14.89 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6995, allocations: 1.469 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6995, allocations: 0 / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6995, allocations: 0 / 0.957 GB, free: 6.742 MB / 0.7169 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.0003631/0.6999, allocations: 345.2 kB / 0.9573 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6999, allocations: 9.344 kB / 0.9573 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.7, allocations: 2.156 kB / 0.9573 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.7001, allocations: 165.5 kB / 0.9575 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.7001, allocations: 1.312 kB / 0.9575 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.7001, allocations: 1.375 kB / 0.9575 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.7003, allocations: 59.23 kB / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7003, allocations: 192 / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7003, allocations: 3.938 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.7003, allocations: 1.469 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.7005, allocations: 44.2 kB / 0.9576 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.7008, allocations: 257 kB / 0.9578 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.701, allocations: 46.88 kB / 0.9579 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.291e-05/0.7011, allocations: 35.83 kB / 0.9579 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.7011, allocations: 1.188 kB / 0.9579 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.7011, allocations: 34.5 kB / 0.958 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.7011, allocations: 1.094 kB / 0.958 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.7015, allocations: 99.42 kB / 0.9581 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.7015, allocations: 55.34 kB / 0.9581 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.7016, allocations: 98.89 kB / 0.9582 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.7016, allocations: 25.7 kB / 0.9582 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.7016, allocations: 81.55 kB / 0.9583 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.7016, allocations: 17.02 kB / 0.9583 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.7017, allocations: 10.72 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.7017, allocations: 315.9 kB / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.7018, allocations: 17.92 kB / 0.9586 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.729e-05/0.7019, allocations: 26.77 kB / 0.9587 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.7021, allocations: 48.12 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7021, allocations: 1.562 kB / 0.9587 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.7023, allocations: 85.94 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.7023, allocations: 5.312 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7023, allocations: 0 / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7023, allocations: 0 / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.7024, allocations: 9.125 kB / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.7025, allocations: 0 / 0.9588 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.7025, allocations: 14.05 kB / 0.9588 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.7025, allocations: 1.812 kB / 0.9588 GB, free: 4.914 MB / 0.7169 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.428e-05/0.7026, allocations: 115.1 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.7026, allocations: 1.875 kB / 0.9589 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.7029, allocations: 82.83 kB / 0.959 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7029, allocations: 9.828 kB / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7029, allocations: 0 / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.7029, allocations: 0 / 0.959 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.703, allocations: 161.3 kB / 0.9592 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.703, allocations: 5.75 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.7031, allocations: 11.2 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.7031, allocations: 5.812 kB / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.7031, allocations: 0 / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7031, allocations: 0 / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7031, allocations: 0 / 0.9592 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.7033, allocations: 178.5 kB / 0.9594 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.7034, allocations: 81.05 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.7034, allocations: 0 / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.7035, allocations: 14.17 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.7035, allocations: 1.344 kB / 0.9595 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.7035, allocations: 5.344 kB / 0.9595 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.256e-05/0.7035, allocations: 81.92 kB / 0.9596 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7035, allocations: 5.219 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002141/0.7038, allocations: 2.594 kB / 0.9596 GB, free: 4.164 MB / 0.7169 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.0001236/0.7039, allocations: 102 kB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.7041, allocations: 47.53 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7041, allocations: 0 / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.7042, allocations: 27.72 kB / 0.9597 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7045, allocations: 6.469 kB / 0.9597 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.7048, allocations: 129.2 kB / 0.9599 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.7049, allocations: 0.678 MB / 0.9605 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.7049, allocations: 8.406 kB / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.705, allocations: 0 / 0.9605 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.001904/0.7069, allocations: 0.5342 MB / 0.9611 GB, free: 2.922 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches