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.001551/0.001551, allocations: 100.1 kB / 15.88 MB, free: 12 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.001696/0.001696, allocations: 195.8 kB / 16.79 MB, free: 6.809 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001971/0.3204, allocations: 0.7238 MB / 1.053 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.3212, allocations: 0.804 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.3213, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.3213, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.3214, allocations: 3.938 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.3215, allocations: 11.98 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.3216, allocations: 15.94 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.3217, allocations: 11.98 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.3218, allocations: 3.938 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.3218, allocations: 15.97 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3218, allocations: 8 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.3219, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3219, allocations: 3.938 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.3219, allocations: 8 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.578e-05/0.322, allocations: 11.97 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.322, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.32e-07/0.322, allocations: 3.938 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.322, allocations: 0 / 1.054 GB, free: 6.625 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.0004354/0.3224, allocations: 335.7 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3225, allocations: 15.97 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3225, allocations: 8.844 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3226, allocations: 164.4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3227, allocations: 384 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.3227, allocations: 8.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.3228, allocations: 46.17 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3229, allocations: 192 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3229, allocations: 15.92 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3229, allocations: 0 / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3231, allocations: 31.97 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.3234, allocations: 245 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.3235, allocations: 42.44 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.3236, allocations: 24.91 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3237, allocations: 0 / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3237, allocations: 30.56 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3237, allocations: 0 / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.324, allocations: 81.64 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3241, allocations: 51.53 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.3242, allocations: 105.8 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3242, allocations: 29.7 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.3242, allocations: 80.14 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.3243, allocations: 3.906 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.3243, allocations: 21.66 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3244, allocations: 314.8 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.3245, allocations: 19.92 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.3246, allocations: 19.98 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3247, allocations: 36.81 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3247, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.3249, allocations: 69.52 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3249, allocations: 8.094 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.325, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.325, allocations: 4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.3251, allocations: 11.98 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3251, allocations: 7.875 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.3252, allocations: 7.984 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.3252, allocations: 0 / 1.056 GB, free: 4.594 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 6.676e-05/0.3252, allocations: 113.8 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3253, allocations: 0 / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.3255, allocations: 72.78 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3255, allocations: 4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3255, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3255, allocations: 3.984 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3257, allocations: 161.6 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3257, allocations: 4 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.3258, allocations: 11.98 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3258, allocations: 4.031 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3258, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3258, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3258, allocations: 3.938 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.326, allocations: 163.5 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.3261, allocations: 77.11 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3261, allocations: 4.031 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.732e-05/0.3262, allocations: 7.984 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3262, allocations: 4 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3262, allocations: 0 / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.3263, allocations: 79.28 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3263, allocations: 0 / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002147/0.3265, allocations: 11.94 kB / 1.057 GB, free: 3.785 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.0001466/0.3267, allocations: 99.23 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.3269, allocations: 39.91 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3269, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.46e-05/0.327, allocations: 19.97 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3273, allocations: 11.94 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.3276, allocations: 141.8 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3279, allocations: 0.6809 MB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3279, allocations: 11.42 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3279, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.001781/0.3297, allocations: 0.5307 MB / 1.058 GB, free: 2.188 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/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