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.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001852/0.001852, allocations: 193 kB / 16.13 MB, free: 6.648 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.09 kB / 0.8984 GB, free: 37.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3158, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00241/0.3183, allocations: 0.7261 MB / 1.053 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3194, allocations: 0.7845 MB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.3195, allocations: 0 / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.3196, allocations: 4 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.3197, allocations: 11.92 kB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3198, allocations: 3.984 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.3199, allocations: 27.92 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3201, allocations: 4 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.3202, allocations: 7.938 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.3202, allocations: 7.984 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3203, allocations: 4 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.3203, allocations: 0 / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.3203, allocations: 11.94 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.3203, allocations: 7.984 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.748e-05/0.3204, allocations: 27.89 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3204, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3205, allocations: 0 / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3205, allocations: 0 / 1.054 GB, free: 7.207 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.000548/0.321, allocations: 339.7 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3211, allocations: 8.031 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3211, allocations: 8.844 kB / 1.054 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3213, allocations: 164.4 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3213, allocations: 4.375 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3213, allocations: 4.375 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3215, allocations: 54.17 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3215, allocations: 192 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3216, allocations: 3.938 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3216, allocations: 0 / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3218, allocations: 35.95 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.3222, allocations: 240.9 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3223, allocations: 50.47 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.3224, allocations: 16.91 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.3225, allocations: 3.984 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3225, allocations: 42.5 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3225, allocations: 7.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003757/0.3229, allocations: 73.64 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.323, allocations: 51.41 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.323, allocations: 105.8 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3231, allocations: 29.83 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.3231, allocations: 84.08 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.3231, allocations: 7.906 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.3232, allocations: 13.72 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3233, allocations: 310.8 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3234, allocations: 19.97 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.3235, allocations: 15.98 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3237, allocations: 36.89 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3237, allocations: 4 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.3239, allocations: 73.5 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3239, allocations: 4 kB / 1.055 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3239, allocations: 4 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3239, allocations: 4.031 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.3241, allocations: 11.92 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3241, allocations: 4 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.3241, allocations: 7.984 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3241, allocations: 3.984 kB / 1.055 GB, free: 5.168 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 8.288e-05/0.3242, allocations: 113.8 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.3243, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.3245, allocations: 76.78 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3245, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3245, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3245, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3247, allocations: 161.6 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3247, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.3248, allocations: 8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3248, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3248, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3248, allocations: 11.95 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3248, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3251, allocations: 159.5 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3252, allocations: 85.03 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3252, allocations: 0 / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.3253, allocations: 4 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.3253, allocations: 12.02 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.3253, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.185e-05/0.3254, allocations: 79.28 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3254, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002258/0.3256, allocations: 15.88 kB / 1.056 GB, free: 4.359 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.0001775/0.3258, allocations: 95.25 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.326, allocations: 43.89 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3261, allocations: 4 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.3262, allocations: 11.98 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3265, allocations: 13.5 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.3269, allocations: 115.8 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3273, allocations: 0.6811 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.3273, allocations: 0 / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.3273, allocations: 7.438 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.3273, allocations: 0 / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.002715/0.3301, allocations: 378.6 kB / 1.057 GB, free: 2.961 MB / 0.8106 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/jenkins/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