Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 81.58 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 164.4 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.05/3.05, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcSin.u|arcSin.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.7e-05/3.995e-05, allocations: 5.516 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001792/0.001832, allocations: 0.6717 MB / 0.9822 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.002898, allocations: 0.8159 MB / 0.983 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.002935, allocations: 0 / 0.983 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.002963, allocations: 3.938 kB / 0.983 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.003028, allocations: 3.938 kB / 0.983 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.003221, allocations: 8 kB / 0.983 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.003306, allocations: 27.91 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.00341, allocations: 7.984 kB / 0.983 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.003489, allocations: 8 kB / 0.983 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.003528, allocations: 15.92 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003542, allocations: 4 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.901e-05/0.003591, allocations: 8 kB / 0.983 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.003608, allocations: 7.938 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.003629, allocations: 3.984 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003758, allocations: 35.83 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.003762, allocations: 3.938 kB / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003763, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.003768, allocations: 0 / 0.9831 GB, free: 10.29 MB / 0.9356 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.0004516/0.004219, allocations: 262.3 kB / 0.9833 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.004256, allocations: 12.03 kB / 0.9833 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.00434, allocations: 8.891 kB / 0.9834 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.004474, allocations: 105.8 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004488, allocations: 4.375 kB / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.004499, allocations: 384 / 0.9835 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.004676, allocations: 46.25 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.004685, allocations: 4.172 kB / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004694, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.004698, allocations: 384 / 0.9835 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.004876, allocations: 43.84 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.005186, allocations: 192.6 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.005324, allocations: 34.56 kB / 0.9838 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.005416, allocations: 16.91 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.005436, allocations: 0 / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.005467, allocations: 38.56 kB / 0.9838 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005468, allocations: 0 / 0.9838 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.005849, allocations: 89.52 kB / 0.9839 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.00589, allocations: 51.41 kB / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.005979, allocations: 101.8 kB / 0.9841 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.005995, allocations: 25.7 kB / 0.9841 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.006046, allocations: 84.09 kB / 0.9842 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.006068, allocations: 11.94 kB / 0.9842 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.006098, allocations: 9.719 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.006246, allocations: 318.8 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.006335, allocations: 20.11 kB / 0.9845 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.00641, allocations: 11.98 kB / 0.9845 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.006576, allocations: 40.77 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006577, allocations: 0 / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002133/0.006791, allocations: 77.61 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.006807, allocations: 12.03 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.006816, allocations: 3.938 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.00683, allocations: 0 / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.00693, allocations: 11.98 kB / 0.9847 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.006934, allocations: 0 / 0.9847 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.006986, allocations: 7.984 kB / 0.9847 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006992, allocations: 0 / 0.9847 GB, free: 8.5 MB / 0.9356 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 9.719e-05/0.007089, allocations: 109.8 kB / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.007112, allocations: 0 / 0.9848 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.007366, allocations: 84.78 kB / 0.9848 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.007372, allocations: 4.188 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007376, allocations: 0 / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.007382, allocations: 3.984 kB / 0.9849 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.007519, allocations: 105.3 kB / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007519, allocations: 0 / 0.985 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.007581, allocations: 7.984 kB / 0.985 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007583, allocations: 4 kB / 0.985 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.007592, allocations: 4.031 kB / 0.985 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.007596, allocations: 3.938 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007596, allocations: 0 / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.007884, allocations: 159.5 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.007895, allocations: 3.953 kB / 0.9851 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.007911, allocations: 4 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.007992, allocations: 11.92 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.008041, allocations: 4 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.008061, allocations: 32 / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.00811, allocations: 87.27 kB / 0.9852 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.00811, allocations: 0 / 0.9852 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002282/0.008339, allocations: 4 kB / 0.9852 GB, free: 7.852 MB / 0.9356 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.008485, allocations: 91.78 kB / 0.9853 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.008707, allocations: 35.97 kB / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.008709, allocations: 0 / 0.9854 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.008811, allocations: 31.97 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.009132, allocations: 0 / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.00947, allocations: 108.8 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.85e-05/0.009539, allocations: 67.28 kB / 0.9856 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.009561, allocations: 0 / 0.9856 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.009597, allocations: 12.5 kB / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of SimCode: time 6.61e-07/0.009598, allocations: 0 / 0.9856 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.003079/0.01268, allocations: 475.3 kB / 0.986 GB, free: 7 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.360989093780518]