Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.004534/0.004534, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.001082/0.001082, allocations: 201.7 kB / 16.68 MB, free: 5.965 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.542/2.542, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2727, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.00203/0.2747, allocations: 0.6868 MB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.2757, allocations: 0.8159 MB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.2757, allocations: 0 / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.2758, allocations: 3.938 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.2759, allocations: 7.938 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.525e-05/0.2759, allocations: 7.984 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.276, allocations: 47.91 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.2761, allocations: 12 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.375e-05/0.2762, allocations: 23.86 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.2763, allocations: 23.91 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2763, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.2763, allocations: 4 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.2763, allocations: 7.984 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.2764, allocations: 19.88 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.322e-05/0.2765, allocations: 44.09 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2765, allocations: 3.984 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2765, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2765, allocations: 4 kB / 1.168 GB, free: 5.504 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005088/0.277, allocations: 359.3 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2771, allocations: 8.031 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.2771, allocations: 30.75 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.2771, allocations: 12.89 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2773, allocations: 168.4 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2773, allocations: 384 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.2773, allocations: 8.312 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.2776, allocations: 74.16 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2776, allocations: 3.938 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2776, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2776, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2779, allocations: 67.86 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.2783, allocations: 280.8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.2785, allocations: 54.48 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2786, allocations: 48.89 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2787, allocations: 4 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2787, allocations: 30.56 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2787, allocations: 4 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005153/0.2792, allocations: 125.6 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2793, allocations: 55.41 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.2794, allocations: 109.8 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2794, allocations: 29.7 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.2794, allocations: 88.08 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2794, allocations: 11.91 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2795, allocations: 13.72 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.2796, allocations: 318.8 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2797, allocations: 27.97 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2799, allocations: 35.95 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.2801, allocations: 64.73 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2801, allocations: 0 / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003124/0.2805, allocations: 105.6 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2805, allocations: 10.03 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2805, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2805, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2806, allocations: 19.92 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.2807, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.2807, allocations: 11.98 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2807, allocations: 4 kB / 1.17 GB, free: 3.129 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 (3): * Single equations (assignments): 3 * 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 6.979e-05/0.2808, allocations: 113.8 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.2809, allocations: 11.95 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.2809, allocations: 3.906 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2809, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.2809, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2809, allocations: 0 / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2811, allocations: 169.6 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2811, allocations: 4 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.2812, allocations: 23.97 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2812, allocations: 3.938 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.2812, allocations: 3.938 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2812, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2812, allocations: 0 / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.2816, allocations: 203.4 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.2816, allocations: 81.44 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2817, allocations: 3.984 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2818, allocations: 11.98 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.2818, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2818, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.2819, allocations: 87.27 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2819, allocations: 4 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002224/0.2821, allocations: 15.94 kB / 1.171 GB, free: 2.297 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 (3): * Single equations (assignments): 3 * 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.0006192/0.2827, allocations: 0.7358 MB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.283, allocations: 67.86 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2831, allocations: 0 / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2832, allocations: 35.97 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.2835, allocations: 10.09 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.2839, allocations: 147.1 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2842, allocations: 0.6768 MB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.072e-05/0.2842, allocations: 7.984 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.2842, allocations: 11.44 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.2842, allocations: 0 / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.3122, allocations: 1.625 MB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.654, allocations: 3.938 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches