Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.88 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7363, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001997/0.7383, allocations: 0.7108 MB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.7393, allocations: 0.8351 MB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.7393, allocations: 0 / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.7393, allocations: 3.938 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.699e-05/0.7394, allocations: 7.922 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.7396, allocations: 23.92 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.995e-05/0.7396, allocations: 43.84 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.7397, allocations: 11.98 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.7398, allocations: 15.98 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.7399, allocations: 23.86 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.7399, allocations: 4 kB / 1.276 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.7399, allocations: 4 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.7399, allocations: 7.984 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.74, allocations: 11.94 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.7401, allocations: 47.59 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7401, allocations: 0 / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7401, allocations: 7.938 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.7401, allocations: 0 / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005832/0.7407, allocations: 370.1 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.7407, allocations: 12.03 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.7407, allocations: 8.828 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7409, allocations: 164.4 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7409, allocations: 384 / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.7409, allocations: 384 / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.7411, allocations: 78.2 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7412, allocations: 192 / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7412, allocations: 3.938 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.7412, allocations: 0 / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.7415, allocations: 63.88 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.7419, allocations: 272.9 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.7421, allocations: 62.47 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.7422, allocations: 32.92 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.7423, allocations: 7.984 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.7423, allocations: 34.56 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.7423, allocations: 0 / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005843/0.7429, allocations: 125.5 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.7429, allocations: 55.41 kB / 1.277 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.743, allocations: 109.8 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.7431, allocations: 25.7 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.7431, allocations: 88.12 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.7431, allocations: 11.84 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.7432, allocations: 17.72 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7433, allocations: 310.8 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.7435, allocations: 43.89 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.7436, allocations: 27.97 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.7439, allocations: 72.72 kB / 1.278 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.7439, allocations: 3.938 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003528/0.7443, allocations: 97.62 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.7443, allocations: 4 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7443, allocations: 3.984 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.7443, allocations: 4 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7445, allocations: 15.98 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7445, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.7446, allocations: 19.94 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.7446, allocations: 0 / 1.278 GB, free: 432 kB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.93e-05/0.7447, allocations: 114.3 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.7447, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.7451, allocations: 109.5 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.7451, allocations: 3.984 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7451, allocations: 4 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7451, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.7453, allocations: 173.6 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7453, allocations: 3.938 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.7454, allocations: 19.98 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.7454, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.7454, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.7454, allocations: 3.984 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7454, allocations: 0 / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.7458, allocations: 207.7 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.7459, allocations: 81.14 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.7459, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.746, allocations: 15.97 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.7461, allocations: 8 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.7461, allocations: 4 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.7461, allocations: 83.27 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7461, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002284/0.7464, allocations: 12 kB / 1.279 GB, free: 15.49 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 (3): * Single equations (assignments): 3 * 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.0001395/0.7465, allocations: 95.25 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003697/0.7469, allocations: 71.92 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7469, allocations: 3.938 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.747, allocations: 39.89 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.7473, allocations: 9.812 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.7477, allocations: 146 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.7481, allocations: 0.6846 MB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.7481, allocations: 3.984 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.7481, allocations: 11.44 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7481, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of Templates: time 0.003107/0.7512, allocations: 0.688 MB / 1.28 GB, free: 13.69 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.71020680014044]