Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",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.006929/0.006929, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001124/0.001124, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.029/3.029, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.89 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3255, allocations: 159.1 MB / 1.22 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001985/0.3275, allocations: 0.6781 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000931/0.3285, allocations: 0.8097 MB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.3286, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.3286, allocations: 3.938 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.3287, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.3288, allocations: 11.92 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.3289, allocations: 23.97 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.329, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.3291, allocations: 15.88 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.3292, allocations: 15.98 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3292, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3292, allocations: 4 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.3292, allocations: 3.938 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3292, allocations: 11.98 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.3293, allocations: 23.89 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3293, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3293, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3294, allocations: 0 / 1.221 GB, free: 12.97 MB / 0.9825 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.0004406/0.3298, allocations: 339.5 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3298, allocations: 12.03 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.3299, allocations: 30.75 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.3299, allocations: 4.891 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.33, allocations: 164.3 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3301, allocations: 4.375 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3301, allocations: 384 / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3302, allocations: 54.17 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3303, allocations: 3.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3303, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3303, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3305, allocations: 35.95 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.3308, allocations: 252.9 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3309, allocations: 38.48 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.331, allocations: 24.91 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.331, allocations: 3.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.331, allocations: 34.56 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.331, allocations: 0 / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003333/0.3314, allocations: 77.64 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.3314, allocations: 59.53 kB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.3315, allocations: 105.8 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3315, allocations: 25.7 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3316, allocations: 84.09 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3316, allocations: 7.953 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.3316, allocations: 13.72 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.3317, allocations: 310.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.3318, allocations: 31.91 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.3319, allocations: 11.98 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.332, allocations: 36.83 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.332, allocations: 3.938 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.3322, allocations: 65.72 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3322, allocations: 8 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3323, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3323, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3324, allocations: 7.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3324, allocations: 4 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.3324, allocations: 8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.3324, allocations: 4 kB / 1.223 GB, free: 10.9 MB / 0.9825 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 7.594e-05/0.3325, allocations: 118.2 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.3326, allocations: 4.031 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3328, allocations: 72.78 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3328, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3328, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3328, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.333, allocations: 161.6 kB / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.333, allocations: 0 / 1.223 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3331, allocations: 8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3331, allocations: 4.031 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.3331, allocations: 3.938 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3331, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3331, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3333, allocations: 167.3 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3334, allocations: 89.09 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3334, allocations: 4.031 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3335, allocations: 4 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.3335, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.3335, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.3336, allocations: 79.28 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3336, allocations: 0 / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002116/0.3338, allocations: 4 kB / 1.224 GB, free: 10.1 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 (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.0005426/0.3344, allocations: 0.7006 MB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3346, allocations: 43.95 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3346, allocations: 96 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.3347, allocations: 19.98 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.335, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.3354, allocations: 155.4 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3357, allocations: 0.6729 MB / 1.225 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.3357, allocations: 4 kB / 1.225 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3358, allocations: 7.5 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3358, allocations: 4 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.3518, allocations: 1.298 MB / 1.227 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/7.641, allocations: 3.812 kB / 1.227 GB, free: 7.188 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches