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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.611/2.611, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.22 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.258, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00175/0.2597, allocations: 0.6783 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.2606, allocations: 0.8079 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.2606, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.2606, allocations: 0 / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.2607, allocations: 7.922 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.2608, allocations: 8 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.2609, allocations: 27.92 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.472e-05/0.261, allocations: 4 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.261, allocations: 19.91 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.164e-05/0.2611, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.2611, allocations: 4 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.944e-06/0.2611, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2611, allocations: 7.984 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.2611, allocations: 7.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.684e-05/0.2612, allocations: 15.97 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2612, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2612, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2612, allocations: 0 / 1.066 GB, free: 12.57 MB / 0.8262 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.0004013/0.2616, allocations: 339.8 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2617, allocations: 8.031 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.2617, allocations: 30.75 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.2617, allocations: 8.844 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2618, allocations: 168.3 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2619, allocations: 4.375 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.2619, allocations: 8.375 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.262, allocations: 50.23 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2621, allocations: 3.938 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.2621, allocations: 3.938 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2621, allocations: 4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.2622, allocations: 27.97 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.2625, allocations: 253 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2627, allocations: 42.44 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.2628, allocations: 20.91 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.2628, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2628, allocations: 34.56 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2628, allocations: 0 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003247/0.2631, allocations: 89.48 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2632, allocations: 51.41 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.2633, allocations: 105.8 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2633, allocations: 29.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.2633, allocations: 80.27 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.2634, allocations: 11.91 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.2634, allocations: 13.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2635, allocations: 314.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.2636, allocations: 15.98 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.2637, allocations: 15.98 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.2638, allocations: 40.88 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2638, allocations: 3.938 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001849/0.264, allocations: 69.61 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2641, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2641, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2641, allocations: 3.984 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.2642, allocations: 8 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2642, allocations: 4.031 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.2642, allocations: 7.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.2642, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 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.363e-05/0.2643, allocations: 113.8 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2643, allocations: 0 / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.2645, allocations: 68.78 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2646, allocations: 11.97 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2646, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2646, allocations: 3.984 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.2647, allocations: 157.6 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2647, allocations: 4.125 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.2648, allocations: 7.984 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2648, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.2648, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2648, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2648, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.2651, allocations: 169.3 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.2651, allocations: 84.95 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2651, allocations: 4 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.2652, allocations: 7.984 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.2652, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.2653, allocations: 8.031 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.2653, allocations: 79.28 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2653, allocations: 7.938 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001947/0.2655, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 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.0005374/0.266, allocations: 0.7046 MB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001889/0.2662, allocations: 31.97 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2663, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.028e-05/0.2663, allocations: 23.91 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2666, allocations: 8 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.2669, allocations: 140 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.2672, allocations: 0.6768 MB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.2672, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.2673, allocations: 11.44 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2673, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9238/1.191, allocations: 1.233 MB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.36, allocations: 13.44 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB (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 --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) 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) Reference file matches