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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001188/0.001189, allocations: 99.5 kB / 16.02 MB, free: 76 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.001667/0.001667, allocations: 182 kB / 16.92 MB, free: 6.891 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.519/1.519, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 14.81 kB / 0.9035 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3341, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.0009486/0.3351, allocations: 404.5 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.3361, allocations: 0.7884 MB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.3361, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.3361, allocations: 0 / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.3362, allocations: 3.984 kB / 1.06 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.3364, allocations: 7.922 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.3365, allocations: 23.98 kB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3366, allocations: 8 kB / 1.061 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.3367, allocations: 7.938 kB / 1.061 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.3367, allocations: 11.98 kB / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3367, allocations: 0 / 1.061 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-06/0.3368, allocations: 7.938 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.3368, allocations: 7.938 kB / 1.061 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3368, allocations: 29.69 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.563e-05/0.3369, allocations: 19.95 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3369, allocations: 3.938 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3369, allocations: 0 / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3369, allocations: 0 / 1.061 GB, free: 3.633 MB / 0.8106 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.000429/0.3374, allocations: 343.7 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3374, allocations: 15.97 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3374, allocations: 0.9375 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.3376, allocations: 168.3 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3376, allocations: 4.375 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.3376, allocations: 384 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.3378, allocations: 58.23 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.3378, allocations: 192 / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3378, allocations: 3.938 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3379, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.3381, allocations: 47.89 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3384, allocations: 245 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3386, allocations: 46.5 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3387, allocations: 32.89 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3387, allocations: 4 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3387, allocations: 30.56 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3387, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003894/0.3391, allocations: 105.5 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3392, allocations: 51.41 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.3393, allocations: 101.9 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3393, allocations: 25.7 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.3393, allocations: 84.12 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.3394, allocations: 3.906 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3394, allocations: 13.84 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.3395, allocations: 318.8 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.113e-05/0.3396, allocations: 15.98 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-05/0.3397, allocations: 27.97 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.3399, allocations: 52.83 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3399, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002253/0.3401, allocations: 81.59 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3401, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3402, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3402, allocations: 4 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.3403, allocations: 11.94 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3403, allocations: 7.984 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.3404, allocations: 8.031 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.3404, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 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.569e-05/0.3405, allocations: 113.8 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3405, allocations: 3.906 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.3407, allocations: 88.7 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3408, allocations: 0 / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3408, allocations: 0 / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3408, allocations: 4 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.3409, allocations: 157.6 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3409, allocations: 0 / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.341, allocations: 11.98 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.341, allocations: 0 / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.341, allocations: 4.031 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.341, allocations: 3.984 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3411, allocations: 0 / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.3413, allocations: 183.6 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.3414, allocations: 81.09 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3414, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.3415, allocations: 11.98 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3415, allocations: 4 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.3415, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.3416, allocations: 83.27 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3416, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002153/0.3418, allocations: 11.97 kB / 1.063 GB, free: 0.6797 MB / 0.8106 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.0001511/0.342, allocations: 99.19 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3422, allocations: 47.95 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3422, allocations: 4.062 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.3423, allocations: 27.92 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3426, allocations: 9.812 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.3429, allocations: 140.5 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3432, allocations: 0.681 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.3433, allocations: 11.44 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3433, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.001889/0.3452, allocations: 0.525 MB / 1.065 GB, free: 15.07 MB / 0.8262 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