Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001746/0.001746, allocations: 192.4 kB / 16.14 MB, free: 6.711 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.517/1.517, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8301/0.8314, allocations: 140.3 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001995/0.8334, allocations: 0.7329 MB / 0.9496 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.8343, allocations: 0.8085 MB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.8344, allocations: 0 / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.8344, allocations: 0 / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.8345, allocations: 9.203 kB / 0.9504 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.8347, allocations: 9.219 kB / 0.9504 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.8347, allocations: 17.86 kB / 0.9505 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.8349, allocations: 7.062 kB / 0.9505 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.8349, allocations: 10.39 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.835, allocations: 7.781 kB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.835, allocations: 1.438 kB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.835, allocations: 5 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.8351, allocations: 8.984 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.8351, allocations: 9.438 kB / 0.9505 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.8352, allocations: 23.92 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8352, allocations: 0 / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8352, allocations: 1.312 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8352, allocations: 0 / 0.9505 GB, free: 7.941 MB / 0.7169 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.0004233/0.8356, allocations: 338.3 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.8357, allocations: 9.938 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.8357, allocations: 2.281 kB / 0.9509 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.974e-05/0.8358, allocations: 169.5 kB / 0.951 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8358, allocations: 4.375 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.8359, allocations: 1.625 kB / 0.951 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.836, allocations: 45.72 kB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.8361, allocations: 4.172 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8361, allocations: 9.625 kB / 0.9511 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.8361, allocations: 0 / 0.9511 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.8363, allocations: 34.31 kB / 0.9511 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.8366, allocations: 245.1 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.8367, allocations: 43.19 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.8368, allocations: 22.78 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.8368, allocations: 0 / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.8369, allocations: 36.19 kB / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.8369, allocations: 0 / 0.9515 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003518/0.8372, allocations: 87.77 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.8373, allocations: 52.97 kB / 0.9516 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.8373, allocations: 102 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.8373, allocations: 27.11 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.8374, allocations: 88.27 kB / 0.9518 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.8374, allocations: 9.156 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.8374, allocations: 12.09 kB / 0.9518 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.8375, allocations: 320.1 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.8376, allocations: 13.39 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.8377, allocations: 18.45 kB / 0.9522 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.8378, allocations: 42.2 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8378, allocations: 0 / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.838, allocations: 72.56 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.838, allocations: 5.156 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.838, allocations: 0 / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8381, allocations: 1.375 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.8381, allocations: 13.45 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8382, allocations: 0 / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.8382, allocations: 8.234 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.8382, allocations: 1.344 kB / 0.9523 GB, free: 6.121 MB / 0.7169 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 5.657e-05/0.8383, allocations: 115.2 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.8383, allocations: 5.281 kB / 0.9524 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.8385, allocations: 74.06 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8385, allocations: 0 / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8386, allocations: 1.469 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8386, allocations: 0 / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.8387, allocations: 161.3 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.8387, allocations: 1 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.8388, allocations: 9.766 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8388, allocations: 1.094 kB / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.8388, allocations: 0 / 0.9526 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8388, allocations: 3.984 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8388, allocations: 1.469 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.839, allocations: 174.2 kB / 0.9528 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.839, allocations: 78.7 kB / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.8391, allocations: 0 / 0.9529 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.8392, allocations: 12.45 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.8392, allocations: 1.156 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.8392, allocations: 4.031 kB / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.8393, allocations: 83.31 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8393, allocations: 0 / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002086/0.8395, allocations: 2.844 kB / 0.953 GB, free: 5.379 MB / 0.7169 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.000131/0.8396, allocations: 102.8 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.8398, allocations: 36.97 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8398, allocations: 0 / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.8399, allocations: 23.23 kB / 0.9531 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.8403, allocations: 10.2 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.8406, allocations: 98.83 kB / 0.9533 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.8407, allocations: 0.6775 MB / 0.9539 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.8408, allocations: 5.312 kB / 0.9539 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.8408, allocations: 8.656 kB / 0.9539 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8408, allocations: 0 / 0.9539 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of Templates: time 0.002402/0.8432, allocations: 365.6 kB / 0.9543 GB, free: 4.246 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches