Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.0009311/0.0009312, allocations: 97.72 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.005846/0.005846, allocations: 169.4 kB / 16.26 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 16.78 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2451, allocations: 159.6 MB / 1.059 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.0006913/0.2459, allocations: 400.5 kB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007258/0.2466, allocations: 0.8118 MB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.2466, allocations: 0 / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.2467, allocations: 3.938 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.2467, allocations: 11.98 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.879e-05/0.2468, allocations: 4 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.2469, allocations: 23.92 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.247, allocations: 4 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.899e-05/0.247, allocations: 11.94 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.2471, allocations: 11.97 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2471, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-06/0.2471, allocations: 0 / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.2471, allocations: 3.938 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.2471, allocations: 37.69 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.214e-05/0.2472, allocations: 23.91 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.2472, allocations: 0 / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2472, allocations: 0 / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.2472, allocations: 0 / 1.06 GB, free: 3.453 MB / 0.8106 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.0003377/0.2476, allocations: 337.2 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2476, allocations: 15.97 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.2476, allocations: 34.69 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.671e-05/0.2477, allocations: 4.938 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.2477, allocations: 164.3 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2478, allocations: 12.36 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.2478, allocations: 384 / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2479, allocations: 50.25 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2479, allocations: 3.938 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.248, allocations: 3.984 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.248, allocations: 7.984 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2481, allocations: 43.91 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.2484, allocations: 248.9 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2485, allocations: 54.53 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.554e-05/0.2486, allocations: 20.91 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.2486, allocations: 4 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.2487, allocations: 38.56 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2487, allocations: 0 / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.249, allocations: 101.6 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2491, allocations: 51.41 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.04e-05/0.2491, allocations: 105.8 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2491, allocations: 25.7 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.2492, allocations: 80.14 kB / 1.061 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.2492, allocations: 11.89 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.2492, allocations: 9.719 kB / 1.061 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.2493, allocations: 314.8 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.2494, allocations: 28 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.2495, allocations: 19.98 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2496, allocations: 48.89 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2496, allocations: 3.938 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001922/0.2498, allocations: 77.59 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2498, allocations: 9.594 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.2499, allocations: 0 / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.2499, allocations: 4 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.25, allocations: 11.98 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.25, allocations: 3.984 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.25, allocations: 15.89 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.25, allocations: 4 kB / 1.062 GB, free: 1.289 MB / 0.8106 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.629e-05/0.2501, allocations: 113.8 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.2501, allocations: 0 / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.2503, allocations: 84.72 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2503, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2504, allocations: 4.031 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2504, allocations: 0 / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2505, allocations: 165.6 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2505, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.2506, allocations: 8 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2506, allocations: 3.938 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2506, allocations: 0 / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2506, allocations: 3.984 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2506, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2508, allocations: 175.5 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.2509, allocations: 85.03 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.2509, allocations: 0 / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.251, allocations: 12.03 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.251, allocations: 7.922 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.251, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.251, allocations: 79.28 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2511, allocations: 0 / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002021/0.2513, allocations: 4 kB / 1.063 GB, free: 472 kB / 0.8106 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.0004877/0.2518, allocations: 0.7123 MB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.252, allocations: 55.98 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.252, allocations: 3.938 kB / 1.063 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.2521, allocations: 19.98 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2523, allocations: 4.125 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.2527, allocations: 144.6 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2529, allocations: 0.677 MB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.774e-05/0.2529, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.253, allocations: 11.44 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.253, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009628/0.2626, allocations: 1.022 MB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.2628, allocations: 197.5 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.832, allocations: 6.953 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches