Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_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.007443/0.007443, allocations: 101.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001538/0.001539, allocations: 187.3 kB / 16.67 MB, free: 5.98 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3229, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001904/0.3249, allocations: 0.6439 MB / 1.167 GB, free: 6.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.326, allocations: 0.8199 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3261, allocations: 3.938 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.3261, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.3262, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3264, allocations: 7.984 kB / 1.168 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.3265, allocations: 23.92 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3266, allocations: 15.98 kB / 1.168 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.542e-05/0.3266, allocations: 4 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.3267, allocations: 11.92 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3267, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-06/0.3267, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.3268, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.3268, allocations: 11.94 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.798e-05/0.3269, allocations: 27.89 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3269, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3269, allocations: 0 / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.3269, allocations: 3.938 kB / 1.168 GB, free: 5.68 MB / 0.92 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.000502/0.3274, allocations: 346.2 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3275, allocations: 8.031 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.3276, allocations: 34.73 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.3276, allocations: 0.9375 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3277, allocations: 168.4 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3278, allocations: 384 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.3278, allocations: 384 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.328, allocations: 54.23 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.328, allocations: 3.938 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.328, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.328, allocations: 0 / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3282, allocations: 39.89 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.3286, allocations: 241 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3287, allocations: 42.5 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.3288, allocations: 28.89 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3289, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3289, allocations: 30.56 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.3289, allocations: 0 / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000372/0.3293, allocations: 93.48 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3293, allocations: 51.41 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/0.3294, allocations: 93.86 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3295, allocations: 29.7 kB / 1.169 GB, free: 4.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.3295, allocations: 84.14 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3295, allocations: 8.453 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.3296, allocations: 9.719 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3297, allocations: 323 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.3298, allocations: 15.98 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.3299, allocations: 23.91 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.33, allocations: 36.83 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.33, allocations: 7.875 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.3302, allocations: 69.72 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3303, allocations: 4 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3303, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3303, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.3304, allocations: 11.98 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3304, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.3305, allocations: 4.281 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3305, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 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 9.421e-05/0.3306, allocations: 125.8 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3306, allocations: 0 / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3308, allocations: 72.7 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3309, allocations: 3.938 kB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3309, allocations: 4 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3309, allocations: 0 / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3311, allocations: 157.6 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3311, allocations: 4.031 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.3311, allocations: 7.984 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3311, allocations: 0 / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3311, allocations: 8 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3312, allocations: 3.984 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3312, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3314, allocations: 171.5 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.3314, allocations: 77.11 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3315, allocations: 3.984 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.268e-05/0.3315, allocations: 7.984 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.3316, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3316, allocations: 4 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.3316, allocations: 79.27 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3316, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002122/0.3319, allocations: 4 kB / 1.17 GB, free: 2.797 MB / 0.92 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.0005188/0.3324, allocations: 0.6989 MB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3326, allocations: 43.92 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3326, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.3327, allocations: 23.92 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.333, allocations: 4 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.3335, allocations: 135.7 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.3338, allocations: 0.6807 MB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.24e-05/0.3338, allocations: 4 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3339, allocations: 11.44 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of SimCode: time 2.7e-07/0.3339, allocations: 4 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.352, allocations: 1.262 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.874, allocations: 2.844 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches