Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",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.0007316/0.0007316, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004318/0.004318, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5515, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.0007008/0.5522, allocations: 436.8 kB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000729/0.5529, allocations: 0.8253 MB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.553, allocations: 1.531 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.553, allocations: 3.938 kB / 0.9564 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.5531, allocations: 5.375 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.5532, allocations: 10.83 kB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.893e-05/0.5533, allocations: 39.91 kB / 0.9565 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.911e-05/0.5533, allocations: 12.77 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.5534, allocations: 18.05 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.5535, allocations: 20.86 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5535, allocations: 1.438 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.5535, allocations: 2.406 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.5535, allocations: 9.109 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.5535, allocations: 35.98 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.028e-05/0.5536, allocations: 35.77 kB / 0.9566 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5536, allocations: 3.938 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5536, allocations: 0 / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.5536, allocations: 0.75 kB / 0.9566 GB, free: 6.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003642/0.554, allocations: 372.9 kB / 0.957 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.554, allocations: 8.938 kB / 0.957 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.341e-05/0.5541, allocations: 39.81 kB / 0.957 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.5541, allocations: 6.219 kB / 0.957 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.278e-05/0.5542, allocations: 175.1 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.5542, allocations: 1.781 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.5542, allocations: 6.156 kB / 0.9572 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.5544, allocations: 76.94 kB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5544, allocations: 3.938 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.5545, allocations: 5.188 kB / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.5545, allocations: 0 / 0.9573 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.5548, allocations: 95.06 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.555, allocations: 270.7 kB / 0.9576 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.5552, allocations: 66.28 kB / 0.9577 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.5554, allocations: 49.61 kB / 0.9577 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.5554, allocations: 0.9688 kB / 0.9577 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.5554, allocations: 35.59 kB / 0.9578 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5554, allocations: 4 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005165/0.5559, allocations: 163.6 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.675e-05/0.556, allocations: 51.41 kB / 0.958 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.125e-05/0.556, allocations: 107.6 kB / 0.9581 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.556, allocations: 26.77 kB / 0.9581 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.5561, allocations: 93.27 kB / 0.9582 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.5561, allocations: 9.312 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/0.5561, allocations: 19.33 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.5562, allocations: 312.2 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.5563, allocations: 42.34 kB / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.5564, allocations: 43.2 kB / 0.9586 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.5567, allocations: 98.72 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5567, allocations: 1.812 kB / 0.9587 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000313/0.557, allocations: 115.8 kB / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5571, allocations: 5.219 kB / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5571, allocations: 0 / 0.9588 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.5571, allocations: 5.156 kB / 0.9588 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.5572, allocations: 19.8 kB / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5572, allocations: 0 / 0.9588 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.5573, allocations: 23.06 kB / 0.9589 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5573, allocations: 1.125 kB / 0.9589 GB, free: 4.477 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 (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 4.391e-05/0.5574, allocations: 124.5 kB / 0.959 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.5574, allocations: 1.781 kB / 0.959 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.5578, allocations: 132.3 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5578, allocations: 0 / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5578, allocations: 1.5 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5578, allocations: 0 / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.5579, allocations: 168.4 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5579, allocations: 5.234 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.558, allocations: 23.2 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.558, allocations: 0 / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.558, allocations: 0.5938 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.558, allocations: 1.25 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.558, allocations: 0 / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.5584, allocations: 224.7 kB / 0.9595 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.5584, allocations: 85.14 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5584, allocations: 1.406 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.5585, allocations: 19.7 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.5585, allocations: 5.266 kB / 0.9596 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.5586, allocations: 1.25 kB / 0.9596 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.5586, allocations: 86.09 kB / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5586, allocations: 0 / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002052/0.5588, allocations: 6.406 kB / 0.9597 GB, free: 3.68 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 (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.0004966/0.5593, allocations: 0.7633 MB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003146/0.5596, allocations: 89.45 kB / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5596, allocations: 0 / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.5598, allocations: 51.58 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.5601, allocations: 8.297 kB / 0.9606 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.5604, allocations: 159 kB / 0.9607 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.5605, allocations: 0.6876 MB / 0.9614 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.5605, allocations: 5.375 kB / 0.9614 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.5606, allocations: 12.81 kB / 0.9614 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.5606, allocations: 0 / 0.9614 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.001/1.562, allocations: 1.312 MB / 0.9627 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/1.562, allocations: 202.6 kB / 0.9629 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/3.057, allocations: 4.938 kB / 0.9629 GB, free: 1.148 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches