Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_11_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_11_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.008505/0.008505, allocations: 98.28 kB / 15.73 MB, free: 6.008 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.001757/0.001757, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.05 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3785, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.00188/0.3804, allocations: 0.6712 MB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.3813, allocations: 0.7786 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.3814, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.3814, allocations: 7.922 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3815, allocations: 11.92 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3817, allocations: 8 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.3817, allocations: 23.92 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3819, allocations: 4 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.3819, allocations: 19.86 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.382, allocations: 7.984 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.382, allocations: 4 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.382, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.382, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.382, allocations: 11.98 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.867e-05/0.3821, allocations: 19.91 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3821, allocations: 4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3821, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3821, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 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.0004426/0.3826, allocations: 339.5 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3826, allocations: 8.031 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.3826, allocations: 4.891 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3828, allocations: 172.3 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.3828, allocations: 384 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3828, allocations: 384 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.383, allocations: 58.17 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.383, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.383, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.383, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3831, allocations: 31.97 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.3835, allocations: 252.9 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3837, allocations: 42.44 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.3837, allocations: 20.91 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3838, allocations: 4 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3838, allocations: 34.55 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3838, allocations: 0 / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.3841, allocations: 85.64 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3842, allocations: 55.39 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.3843, allocations: 97.86 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3843, allocations: 25.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.3843, allocations: 88.03 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.3843, allocations: 4 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.3844, allocations: 21.83 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3845, allocations: 310.8 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.3846, allocations: 15.98 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.3846, allocations: 15.98 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3848, allocations: 40.88 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3848, allocations: 7.938 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002568/0.385, allocations: 65.62 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.385, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.385, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3851, allocations: 3.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.3852, allocations: 11.94 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3852, allocations: 0 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.3852, allocations: 12.02 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3852, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 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.422e-05/0.3853, allocations: 113.8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.3853, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.3855, allocations: 68.78 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.3855, allocations: 3.984 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3855, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3855, allocations: 4.031 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3857, allocations: 157.6 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3857, allocations: 4 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.3857, allocations: 7.984 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3858, allocations: 0 / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.3858, allocations: 7.938 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3858, allocations: 3.938 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3858, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3861, allocations: 163.5 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.3861, allocations: 85.06 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3861, allocations: 0 / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3862, allocations: 11.98 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.3862, allocations: 0 / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3862, allocations: 0 / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.3863, allocations: 83.27 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3863, allocations: 4.031 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002143/0.3865, allocations: 4 kB / 1.225 GB, free: 9.348 MB / 0.9825 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.0001691/0.3867, allocations: 103.2 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3869, allocations: 39.91 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3869, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.387, allocations: 24.03 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3873, allocations: 6.188 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.3876, allocations: 129.8 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3879, allocations: 0.6768 MB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.341e-05/0.3879, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.3879, allocations: 11.44 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.3879, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of Templates: time 0.002815/0.3907, allocations: 450.6 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches