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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 106.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.189/3.189, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.23 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002076/0.3418, allocations: 0.669 MB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3428, allocations: 0.8122 MB / 1.305 GB, free: 52 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.3429, allocations: 3.938 kB / 1.305 GB, free: 48 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.3429, allocations: 3.938 kB / 1.305 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.343, allocations: 3.984 kB / 1.305 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.3431, allocations: 11.94 kB / 1.305 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.549e-05/0.3432, allocations: 15.98 kB / 1.306 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3433, allocations: 8 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.3433, allocations: 11.92 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.3434, allocations: 11.92 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3434, allocations: 4 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.3434, allocations: 4 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.3434, allocations: 7.984 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3435, allocations: 11.94 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.3435, allocations: 24.12 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3435, allocations: 0 / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3435, allocations: 0 / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3435, allocations: 0 / 1.306 GB, free: 15.93 MB / 1.014 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.0004927/0.344, allocations: 339.5 kB / 1.306 GB, free: 15.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3441, allocations: 8.625 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.3441, allocations: 34.75 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.3442, allocations: 4.938 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3443, allocations: 164.4 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3443, allocations: 384 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.3443, allocations: 384 / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3445, allocations: 54.17 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3445, allocations: 3.938 kB / 1.306 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3445, allocations: 7.984 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3445, allocations: 3.938 kB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.3447, allocations: 31.97 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.345, allocations: 245 kB / 1.306 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.3451, allocations: 38.5 kB / 1.306 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.3452, allocations: 32.84 kB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3453, allocations: 0 / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3453, allocations: 34.55 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3453, allocations: 0 / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003354/0.3456, allocations: 81.61 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3457, allocations: 51.41 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.133e-05/0.3458, allocations: 102 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3458, allocations: 29.7 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.3458, allocations: 88.12 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3459, allocations: 3.953 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.3459, allocations: 13.7 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.346, allocations: 318.8 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.3461, allocations: 15.92 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.3462, allocations: 23.92 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3463, allocations: 40.81 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3463, allocations: 3.938 kB / 1.307 GB, free: 13.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.3465, allocations: 61.67 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3465, allocations: 4.094 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3466, allocations: 7.984 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3466, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.3466, allocations: 8 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3467, allocations: 0 / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.3467, allocations: 15.86 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3467, allocations: 0 / 1.307 GB, free: 13.86 MB / 1.014 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 8.376e-05/0.3468, allocations: 121.8 kB / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3468, allocations: 0 / 1.307 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.347, allocations: 68.78 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.347, allocations: 0 / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.347, allocations: 3.984 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.347, allocations: 4 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3472, allocations: 161.6 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3472, allocations: 0 / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.3473, allocations: 11.98 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3473, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3473, allocations: 12.03 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3473, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3473, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.3475, allocations: 163.4 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3476, allocations: 81.05 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.3476, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.3477, allocations: 12.02 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3477, allocations: 4 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3477, allocations: 4 kB / 1.308 GB, free: 13.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.3478, allocations: 75.28 kB / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 1.308 GB, free: 13.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000212/0.348, allocations: 4 kB / 1.308 GB, free: 13.04 MB / 1.014 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.0006125/0.3486, allocations: 0.7045 MB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.3488, allocations: 31.97 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3488, allocations: 0 / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3489, allocations: 32 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3491, allocations: 7.125 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.3496, allocations: 139.6 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3499, allocations: 0.6768 MB / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.3499, allocations: 0 / 1.31 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.35, allocations: 15.38 kB / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.35, allocations: 0 / 1.31 GB, free: 11.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.3748, allocations: 1.299 MB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.569, allocations: 2.5 kB / 1.311 GB, free: 10.14 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.206459775101393]