Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.001454/0.001454, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001615/0.001615, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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.014/1.014, allocations: 177.2 MB / 204.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.778/1.778, allocations: 359 MB / 0.6052 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|arcCos.u|arcCos.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0.875 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.951e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001944/0.001974, allocations: 0.67 MB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.003225, allocations: 0.8754 MB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.00326, allocations: 0.9062 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.003296, allocations: 3.938 kB / 0.7887 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.003372, allocations: 4.922 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.003594, allocations: 15.92 kB / 0.7887 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.003676, allocations: 23.92 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003784, allocations: 6.969 kB / 0.7887 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.003868, allocations: 15.92 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.00391, allocations: 8 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.003926, allocations: 0 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.464e-05/0.003981, allocations: 11.92 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.004002, allocations: 7.984 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.004025, allocations: 4 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.004141, allocations: 19.92 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004143, allocations: 1.25 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004144, allocations: 0 / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.004149, allocations: 0 / 0.7888 GB, free: 10.7 MB / 0.7448 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.0008072/0.004957, allocations: 361.2 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.005009, allocations: 9.094 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.005149, allocations: 8.891 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.005257, allocations: 108.6 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.005275, allocations: 8.953 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.005291, allocations: 4.312 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.005461, allocations: 56.47 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.005474, allocations: 192 / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.005486, allocations: 384 / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.005498, allocations: 384 / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.005537, allocations: 9.281 kB / 0.7893 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.005917, allocations: 243.8 kB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.005986, allocations: 35.03 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.006017, allocations: 18.09 kB / 0.7896 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.006042, allocations: 0 / 0.7896 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.006071, allocations: 33.39 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.006072, allocations: 0 / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001899/0.006262, allocations: 41.59 kB / 0.7897 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.006299, allocations: 59.92 kB / 0.7898 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.006396, allocations: 162.6 kB / 0.7899 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.006411, allocations: 25.7 kB / 0.7899 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.006471, allocations: 131.4 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.006494, allocations: 7.953 kB / 0.7901 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.00653, allocations: 20.95 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.006692, allocations: 496.1 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.006713, allocations: 3.938 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.58e-05/0.006729, allocations: 4.625 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.006768, allocations: 12.38 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.006772, allocations: 4 kB / 0.7906 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.102e-05/0.006853, allocations: 38.38 kB / 0.7906 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.00687, allocations: 4.5 kB / 0.7906 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.00688, allocations: 7.938 kB / 0.7906 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.006901, allocations: 4.719 kB / 0.7906 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.007, allocations: 8 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.007007, allocations: 1.375 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.007038, allocations: 11.92 kB / 0.7907 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.007044, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7448 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.492e-05/0.007139, allocations: 158.4 kB / 0.7908 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.007164, allocations: 0 / 0.7908 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.007289, allocations: 48.94 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007291, allocations: 0 / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.007295, allocations: 0.625 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.007298, allocations: 0 / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.007445, allocations: 125.3 kB / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.007447, allocations: 0 / 0.791 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.007489, allocations: 4.844 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.007494, allocations: 4 kB / 0.791 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.007507, allocations: 5.781 kB / 0.791 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.00751, allocations: 3.938 kB / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.007512, allocations: 0 / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.007641, allocations: 180 kB / 0.7912 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.007652, allocations: 8.969 kB / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007664, allocations: 0 / 0.7912 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.007728, allocations: 10.31 kB / 0.7912 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.007775, allocations: 7.969 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007778, allocations: 0 / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.007825, allocations: 123.2 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.007825, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002378/0.008063, allocations: 4 kB / 0.7913 GB, free: 7.871 MB / 0.7448 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.0001019/0.008165, allocations: 97.22 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.00827, allocations: 23.61 kB / 0.7914 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008272, allocations: 3.938 kB / 0.7914 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.008296, allocations: 12.19 kB / 0.7914 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.008578, allocations: 5.812 kB / 0.7915 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.009148, allocations: 127.4 kB / 0.7916 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.009194, allocations: 55.36 kB / 0.7916 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.009214, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.009246, allocations: 13.16 kB / 0.7916 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.009247, allocations: 3.938 kB / 0.7916 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.002705/0.01195, allocations: 495 kB / 0.7921 GB, free: 7.016 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1650716392323375]