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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 221.4 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.291/3.291, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 66.3 kB / 1.171 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002042/0.3369, allocations: 0.6585 MB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3382, allocations: 0.8514 MB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.3382, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.3383, allocations: 0 / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.3383, allocations: 7.938 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.3385, allocations: 15.92 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.796e-05/0.3386, allocations: 19.98 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.3386, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.3387, allocations: 23.86 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.3387, allocations: 8 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.3387, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.3388, allocations: 7.984 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.3388, allocations: 11.92 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.3388, allocations: 8 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.3389, allocations: 24.12 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3389, allocations: 0 / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3389, allocations: 0 / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3389, allocations: 0 / 1.347 GB, free: 14.26 MB / 1.045 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.0004288/0.3394, allocations: 266.3 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3394, allocations: 12.03 kB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.878e-05/0.3394, allocations: 192 / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.3395, allocations: 30.75 kB / 1.347 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.618e-05/0.3395, allocations: 4.922 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.3396, allocations: 110.5 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.3396, allocations: 384 / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3396, allocations: 8.375 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3398, allocations: 49.92 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3398, allocations: 4 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3398, allocations: 11.94 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3398, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.34, allocations: 27.97 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.3403, allocations: 227.9 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3405, allocations: 34.55 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.3406, allocations: 28.83 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3406, allocations: 4 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3406, allocations: 34.56 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3406, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.341, allocations: 81.58 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.341, allocations: 55.41 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.3411, allocations: 97.86 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.3411, allocations: 25.7 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3412, allocations: 84.12 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3412, allocations: 16.06 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3412, allocations: 13.72 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3414, allocations: 318.8 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.3415, allocations: 11.98 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.3415, allocations: 19.97 kB / 1.348 GB, free: 12.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3417, allocations: 40.77 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3417, allocations: 4.062 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002051/0.3419, allocations: 69.61 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3419, allocations: 4 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3419, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3419, allocations: 0 / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.342, allocations: 11.98 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.342, allocations: 3.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.3421, allocations: 4 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3421, allocations: 4.031 kB / 1.349 GB, free: 12.38 MB / 1.045 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.0001844/0.3423, allocations: 117.8 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3423, allocations: 3.984 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3425, allocations: 68.97 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3425, allocations: 0 / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3425, allocations: 4 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3425, allocations: 0 / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.3427, allocations: 124.7 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3427, allocations: 4.031 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.3427, allocations: 8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3427, allocations: 4 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.475e-06/0.3427, allocations: 3.984 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3427, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3427, allocations: 3.938 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.343, allocations: 163.4 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.343, allocations: 3.953 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.343, allocations: 8.031 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.3431, allocations: 11.94 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3431, allocations: 3.984 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3431, allocations: 4 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.3432, allocations: 79.28 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3432, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002172/0.3434, allocations: 4 kB / 1.349 GB, free: 11.7 MB / 1.045 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.0006093/0.344, allocations: 0.6967 MB / 1.35 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3442, allocations: 35.95 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3442, allocations: 0 / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.3443, allocations: 19.98 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.3446, allocations: 7.969 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.345, allocations: 148 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.316e-05/0.345, allocations: 55.36 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.3451, allocations: 3.984 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.3451, allocations: 11.44 kB / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of SimCode: time 3.81e-07/0.3451, allocations: 0 / 1.35 GB, free: 10.63 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3674, allocations: 1.467 MB / 1.352 GB, free: 9.312 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.96, allocations: 19 kB / 1.352 GB, free: 9.301 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.798816040041856]