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.001607/0.001607, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.001792/0.001792, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.653/2.653, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3657, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002458/0.3682, allocations: 0.6728 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.3693, allocations: 0.7986 MB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.3694, allocations: 0 / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.3694, allocations: 3.938 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.581e-05/0.3695, allocations: 0 / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3697, allocations: 11.98 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.3698, allocations: 27.86 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.37, allocations: 4 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.3701, allocations: 12 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.3702, allocations: 15.91 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3702, allocations: 4 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.3702, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.3702, allocations: 4 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3703, allocations: 15.86 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.3704, allocations: 19.91 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3704, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3704, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3704, allocations: 7.938 kB / 1.028 GB, free: 500 kB / 0.795 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.0005739/0.371, allocations: 339.5 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.371, allocations: 8.031 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.3711, allocations: 8.844 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3713, allocations: 160.4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3713, allocations: 4.375 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3713, allocations: 384 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3715, allocations: 50.23 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3716, allocations: 192 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3716, allocations: 7.938 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3716, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3718, allocations: 35.89 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.3722, allocations: 241 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.3723, allocations: 42.48 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3724, allocations: 24.91 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3724, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.3725, allocations: 30.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 4.509e-06/0.3725, allocations: 3.984 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.3728, allocations: 85.7 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3729, allocations: 55.41 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.373, allocations: 101.8 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.373, allocations: 25.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.3731, allocations: 84.14 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3731, allocations: 11.89 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3731, allocations: 13.72 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3732, allocations: 310.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.3733, allocations: 23.97 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.3734, allocations: 11.98 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3735, allocations: 40.77 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3736, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001788/0.3737, allocations: 81.56 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3738, allocations: 4 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3738, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3738, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.3739, allocations: 11.98 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3739, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.374, allocations: 4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.374, allocations: 3.984 kB / 1.03 GB, free: 14.46 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.2e-05/0.3741, allocations: 121.8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.3741, allocations: 4 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.3743, allocations: 72.72 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3743, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3743, allocations: 7.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3743, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3745, allocations: 161.6 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3745, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.3746, allocations: 8.031 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3746, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3746, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3746, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3746, allocations: 3.984 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3749, allocations: 163.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3749, allocations: 89.03 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.3749, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.375, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3751, allocations: 3.984 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3751, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.3751, allocations: 79.28 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3751, allocations: 0 / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002104/0.3753, allocations: 7.938 kB / 1.031 GB, free: 13.64 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.0001504/0.3755, allocations: 103.2 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.3757, allocations: 35.95 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3757, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.3758, allocations: 19.92 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3761, allocations: 11.94 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3764, allocations: 106.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3767, allocations: 0.6768 MB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.3767, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3767, allocations: 7.438 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3767, allocations: 3.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.003011/0.3797, allocations: 448.3 kB / 1.032 GB, free: 12.18 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 -s cvode -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