Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001451/0.001451, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001996/0.001996, allocations: 206.1 kB / 22.24 MB, free: 5.262 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.595/1.595, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",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.002101/0.002101, allocations: 72.58 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001947/0.3396, allocations: 0.6537 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3406, allocations: 0.8433 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.3406, allocations: 0 / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.3407, allocations: 3.938 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.3407, allocations: 3.984 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.3409, allocations: 15.92 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.341, allocations: 20 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.3411, allocations: 11.92 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.748e-05/0.3411, allocations: 11.94 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.3412, allocations: 11.92 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.3412, allocations: 0 / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.574e-05/0.3412, allocations: 8 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.3412, allocations: 7.984 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.3413, allocations: 8 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3414, allocations: 33.09 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3414, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3414, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3414, allocations: 4 kB / 1.284 GB, free: 10.79 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.0004177/0.3418, allocations: 258.3 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3418, allocations: 15.97 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.3419, allocations: 30.75 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.016e-05/0.3419, allocations: 4.938 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.342, allocations: 102.5 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.342, allocations: 384 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3421, allocations: 8.375 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.3422, allocations: 58.16 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3423, allocations: 11.88 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.3423, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3423, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3424, allocations: 35.95 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.3428, allocations: 212 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3429, allocations: 42.48 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.241e-05/0.343, allocations: 24.91 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.343, allocations: 3.938 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.343, allocations: 34.56 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.343, allocations: 0 / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003485/0.3434, allocations: 77.64 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3434, allocations: 55.41 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.3435, allocations: 101.8 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3435, allocations: 25.83 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3436, allocations: 88.08 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.3436, allocations: 7.953 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.3436, allocations: 13.72 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3438, allocations: 318.8 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.3439, allocations: 11.98 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.3439, allocations: 19.92 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3441, allocations: 40.89 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3441, allocations: 3.938 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.3443, allocations: 65.66 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3443, allocations: 6.031 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3443, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.3443, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.372e-05/0.3444, allocations: 11.98 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3444, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.3445, allocations: 12.02 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-06/0.3445, allocations: 0 / 1.286 GB, free: 8.926 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 8.754e-05/0.3446, allocations: 121.7 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3446, allocations: 3.953 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3448, allocations: 64.97 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3448, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3448, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3448, allocations: 3.938 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.345, allocations: 140.6 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.345, allocations: 0 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.3451, allocations: 11.98 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3451, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3451, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3451, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3451, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.3453, allocations: 163.4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.3453, allocations: 4.031 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3454, allocations: 8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3454, allocations: 7.984 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3455, allocations: 4 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3455, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.186e-05/0.3455, allocations: 87.44 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3455, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002172/0.3457, allocations: 4 kB / 1.286 GB, free: 8.234 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.0005611/0.3463, allocations: 0.6967 MB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3465, allocations: 35.95 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3465, allocations: 0 / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.3466, allocations: 19.98 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3469, allocations: 4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.3473, allocations: 144 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.758e-05/0.3474, allocations: 63.34 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.3474, allocations: 0 / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.3474, allocations: 11.44 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3474, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.3753, allocations: 1.802 MB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.98, allocations: 8.531 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.8591275960207]