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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001794/0.001794, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.237/2.237, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.91 kB / 0.8122 GB, free: 14.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5593/0.5608, allocations: 140.4 MB / 0.9493 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.001705/0.5626, allocations: 0.7212 MB / 0.95 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.5633, allocations: 0.8035 MB / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.5633, allocations: 1.25 kB / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.5634, allocations: 0 / 0.9507 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.5634, allocations: 3.984 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.5636, allocations: 10.73 kB / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.212e-05/0.5636, allocations: 21.44 kB / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.5637, allocations: 6.734 kB / 0.9508 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.732e-05/0.5638, allocations: 10.75 kB / 0.9508 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.174e-05/0.5638, allocations: 16.05 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.5638, allocations: 1.375 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.5638, allocations: 1.375 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.5639, allocations: 1.375 kB / 0.9508 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.5639, allocations: 9.312 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.945e-05/0.5639, allocations: 28 kB / 0.9509 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.564, allocations: 1.375 kB / 0.9509 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.564, allocations: 3.938 kB / 0.9509 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.564, allocations: 0 / 0.9509 GB, free: 7.957 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.0003197/0.5643, allocations: 343.4 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5643, allocations: 9.625 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.5644, allocations: 30.75 kB / 0.9512 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.5644, allocations: 6.312 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.184e-05/0.5645, allocations: 169.7 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.5645, allocations: 1.75 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.5645, allocations: 1.75 kB / 0.9514 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.5646, allocations: 49.23 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5647, allocations: 7.938 kB / 0.9515 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.5647, allocations: 3.938 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5647, allocations: 1.375 kB / 0.9515 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.5648, allocations: 37.77 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.5651, allocations: 241.2 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.5652, allocations: 51.31 kB / 0.9518 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.5653, allocations: 18.56 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.5653, allocations: 1.281 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.5653, allocations: 34.56 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.5653, allocations: 0 / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003087/0.5656, allocations: 85.61 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.5657, allocations: 51.41 kB / 0.952 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.5657, allocations: 98.77 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.5657, allocations: 25.7 kB / 0.9521 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.5658, allocations: 85.53 kB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.5658, allocations: 13.41 kB / 0.9522 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.5658, allocations: 11.22 kB / 0.9522 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.5659, allocations: 320.2 kB / 0.9525 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.5659, allocations: 18.08 kB / 0.9525 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.566, allocations: 16.62 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5662, allocations: 39.11 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5662, allocations: 4.969 kB / 0.9526 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.5663, allocations: 71.94 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.5664, allocations: 4.844 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.5664, allocations: 1.5 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5664, allocations: 0 / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.341e-05/0.5665, allocations: 10.05 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5665, allocations: 0 / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.5665, allocations: 4.594 kB / 0.9526 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-06/0.5666, allocations: 0 / 0.9526 GB, free: 6.098 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 4.379e-05/0.5666, allocations: 119.7 kB / 0.9528 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.5666, allocations: 5.469 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.5668, allocations: 75.31 kB / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5668, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.5669, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-06/0.5669, allocations: 0 / 0.9528 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.567, allocations: 158.4 kB / 0.953 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.567, allocations: 4.031 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.567, allocations: 10.8 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.567, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.5671, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5671, allocations: 5.203 kB / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5671, allocations: 0 / 0.953 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.5673, allocations: 179.6 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.5673, allocations: 77.11 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.5673, allocations: 5.172 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.5674, allocations: 3.938 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.5674, allocations: 5.359 kB / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.5674, allocations: 0 / 0.9533 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.5675, allocations: 83.62 kB / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5675, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002144/0.5677, allocations: 2.594 kB / 0.9533 GB, free: 5.352 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.000359/0.568, allocations: 0.6961 MB / 0.954 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.5682, allocations: 49.11 kB / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5683, allocations: 0 / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.5683, allocations: 20.02 kB / 0.9541 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5686, allocations: 4.609 kB / 0.9541 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.569, allocations: 135.1 kB / 0.9542 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.5691, allocations: 0.6847 MB / 0.9549 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.5691, allocations: 1.344 kB / 0.9549 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.5691, allocations: 12.88 kB / 0.9549 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.5692, allocations: 0 / 0.9549 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5154/1.085, allocations: 1.113 MB / 0.956 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/1.085, allocations: 200.8 kB / 0.9562 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.241, allocations: 3.938 kB / 0.9562 GB, free: 2.938 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan.fmu > 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/jenkins1/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