Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001283/0.001283, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001404/0.001404, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.278/3.278, allocations: 0.49 GB / 0.7959 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.002018/0.002018, allocations: 69.41 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4233, allocations: 176.1 MB / 1.327 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002059/0.4253, allocations: 0.6761 MB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.4265, allocations: 0.8592 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.4265, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.4265, allocations: 3.938 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.494e-05/0.4266, allocations: 0 / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.4268, allocations: 23.91 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.4269, allocations: 27.86 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.427, allocations: 8 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.4271, allocations: 7.984 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.4271, allocations: 11.94 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.4271, allocations: 4 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.4272, allocations: 8 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.4272, allocations: 3.984 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.4272, allocations: 11.94 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.4273, allocations: 28.17 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4273, allocations: 0 / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4273, allocations: 0 / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4273, allocations: 0 / 1.328 GB, free: 248 kB / 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.0004924/0.4278, allocations: 262.3 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4279, allocations: 16.03 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.788e-05/0.4279, allocations: 192 / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.4279, allocations: 34.73 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.116e-05/0.428, allocations: 8.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4281, allocations: 106.5 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4282, allocations: 4.312 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.4282, allocations: 4.375 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4283, allocations: 57.97 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4284, allocations: 4 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4284, allocations: 0 / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4284, allocations: 0 / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.4285, allocations: 35.95 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.4289, allocations: 219.9 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.429, allocations: 42.5 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.4291, allocations: 20.91 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4291, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.4292, allocations: 34.55 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4292, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.4295, allocations: 77.75 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.4296, allocations: 67.27 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.4296, allocations: 97.86 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4297, allocations: 25.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.4297, allocations: 84.14 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.4297, allocations: 3.953 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4298, allocations: 17.7 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4299, allocations: 314.8 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.43, allocations: 16.02 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/0.4301, allocations: 15.98 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4302, allocations: 44.75 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4302, allocations: 0 / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.4304, allocations: 65.73 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4304, allocations: 11.92 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4304, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4304, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.4305, allocations: 7.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4305, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.4306, allocations: 11.98 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.4306, allocations: 0 / 1.33 GB, free: 14.36 MB / 1.029 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.662e-05/0.4307, allocations: 118.3 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4307, allocations: 3.953 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.4309, allocations: 72.97 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4309, allocations: 3.984 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.431, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.431, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4311, allocations: 128.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4311, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.4312, allocations: 19.95 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4312, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4312, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.4312, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.4312, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4315, allocations: 163.5 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-06/0.4315, allocations: 4.031 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.4315, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.4316, allocations: 7.984 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.4316, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.4316, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.53e-05/0.4317, allocations: 91.44 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4317, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000212/0.4319, allocations: 4 kB / 1.331 GB, free: 13.68 MB / 1.029 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.0006076/0.4325, allocations: 0.7005 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.4327, allocations: 35.97 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4327, allocations: 4.094 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.072e-05/0.4328, allocations: 23.91 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4331, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.4336, allocations: 135.9 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.434, allocations: 0.6807 MB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.434, allocations: 4.062 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.434, allocations: 11.44 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.434, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.4568, allocations: 1.412 MB / 1.334 GB, free: 10.72 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.61, allocations: 10.34 kB / 1.334 GB, free: 10.71 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.677970190998167]