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.004114/0.004114, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001147/0.001147, allocations: 202.7 kB / 16.68 MB, free: 5.969 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.577/2.577, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.91 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2789, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001652/0.2806, allocations: 0.675 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008346/0.2815, allocations: 0.8019 MB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.2815, allocations: 0 / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.2815, allocations: 3.938 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.602e-05/0.2816, allocations: 7.922 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2817, allocations: 11.98 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.2818, allocations: 23.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.14e-05/0.2819, allocations: 8 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.2819, allocations: 7.938 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.282, allocations: 7.984 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.282, allocations: 4 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.282, allocations: 0 / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.282, allocations: 11.94 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.2821, allocations: 7.969 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.902e-05/0.2821, allocations: 27.91 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2821, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2821, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2822, allocations: 4 kB / 1.222 GB, free: 12.65 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.000413/0.2826, allocations: 331.5 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.2826, allocations: 8.031 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.2826, allocations: 34.75 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.2827, allocations: 8.891 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2828, allocations: 168.3 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.2828, allocations: 4.375 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.2828, allocations: 4.375 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.283, allocations: 46.19 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.283, allocations: 3.938 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.283, allocations: 7.984 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.283, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2832, allocations: 31.91 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002918/0.2835, allocations: 244.9 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.2836, allocations: 46.47 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.2837, allocations: 24.91 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.2837, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.2838, allocations: 34.56 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/0.2838, allocations: 3.984 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003248/0.2841, allocations: 81.64 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.2841, allocations: 51.41 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.2842, allocations: 105.8 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2842, allocations: 25.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.2843, allocations: 92.22 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.2843, allocations: 3.953 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2843, allocations: 17.66 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2845, allocations: 318.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.2846, allocations: 11.98 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.2846, allocations: 19.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.2848, allocations: 36.89 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2848, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.285, allocations: 65.66 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.285, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.285, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.285, allocations: 4 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.113e-05/0.2851, allocations: 19.95 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2851, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.2852, allocations: 7.984 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2852, allocations: 0 / 1.224 GB, free: 10.58 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.801e-05/0.2853, allocations: 117.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.2853, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2855, allocations: 64.78 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2855, allocations: 8.031 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2855, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2855, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2857, allocations: 161.6 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2857, allocations: 0 / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.2858, allocations: 8 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2858, allocations: 11.86 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.2858, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2858, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2858, allocations: 0 / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.286, allocations: 171.4 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.2861, allocations: 77.11 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.2861, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.467e-05/0.2862, allocations: 7.984 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.2862, allocations: 4 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2862, allocations: 4.031 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.2863, allocations: 83.28 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2863, allocations: 0 / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002049/0.2865, allocations: 4 kB / 1.224 GB, free: 9.773 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.0005502/0.287, allocations: 0.6973 MB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.2872, allocations: 39.95 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2872, allocations: 0 / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.2873, allocations: 15.98 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.2876, allocations: 14.11 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2879, allocations: 155.5 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.2882, allocations: 0.6729 MB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.103e-05/0.2883, allocations: 3.984 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.2883, allocations: 15.44 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2883, allocations: 0 / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.3161, allocations: 1.278 MB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/9.115, allocations: 8.047 kB / 1.227 GB, free: 6.867 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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