Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_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.004417/0.004417, 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.00129/0.00129, allocations: 195.3 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003208/0.003208, allocations: 64.11 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.313, allocations: 159.1 MB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.00183/0.3149, allocations: 0.6701 MB / 1.221 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.3159, allocations: 0.8058 MB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.316, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.316, allocations: 3.938 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.3161, allocations: 4 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.3162, allocations: 11.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.3163, allocations: 15.98 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.3164, allocations: 15.98 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.3164, allocations: 19.86 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.417e-05/0.3165, allocations: 4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3165, allocations: 0 / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.3165, allocations: 4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.3165, allocations: 11.92 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.3166, allocations: 8 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.77e-05/0.3167, allocations: 19.91 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3167, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3167, allocations: 4 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.3167, allocations: 0 / 1.222 GB, free: 12.62 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.0004358/0.3171, allocations: 335.5 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3172, allocations: 12.03 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.3172, allocations: 30.75 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.3172, allocations: 4.891 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.3174, allocations: 168.3 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3174, allocations: 4.375 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.3174, allocations: 384 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3176, allocations: 58.17 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.3176, allocations: 3.938 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.3176, allocations: 3.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3176, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3178, allocations: 31.97 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.3182, allocations: 249 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3183, allocations: 42.5 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.3184, allocations: 20.91 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3184, allocations: 3.938 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3185, allocations: 34.56 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.3185, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.3189, allocations: 81.64 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3189, allocations: 55.41 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.319, allocations: 97.84 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.319, allocations: 29.7 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.3191, allocations: 84.09 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3191, allocations: 11.89 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3191, allocations: 13.84 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3193, allocations: 318.8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3194, allocations: 15.98 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.3195, allocations: 23.92 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.3197, allocations: 40.88 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3197, allocations: 7.938 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002918/0.32, allocations: 57.67 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.32, allocations: 8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3201, allocations: 192 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3201, allocations: 0 / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3202, allocations: 7.984 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3202, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.313e-05/0.3203, allocations: 16 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3204, allocations: 0 / 1.224 GB, free: 10.55 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 0.0001094/0.3205, allocations: 117.7 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3205, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.3209, allocations: 68.78 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3209, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3209, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3209, allocations: 8.016 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.3212, allocations: 157.6 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3212, allocations: 3.938 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.3213, allocations: 11.98 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3213, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3214, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3214, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3214, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.3217, allocations: 171.3 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3218, allocations: 81.11 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3218, allocations: 0 / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.322, allocations: 7.984 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3221, allocations: 4 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3221, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.473e-05/0.3221, allocations: 79.28 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3221, allocations: 4.031 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004139/0.3226, allocations: 4 kB / 1.224 GB, free: 9.746 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.0008587/0.3234, allocations: 0.7012 MB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3238, allocations: 36 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3238, allocations: 0 / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3239, allocations: 27.91 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3244, allocations: 1.719 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.325, allocations: 147.6 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3254, allocations: 0.6807 MB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.3255, allocations: 4 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.3255, allocations: 11.44 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3256, allocations: 0 / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.3502, allocations: 1.274 MB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.775, allocations: 18.56 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches