Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.69/1.69, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 183.6 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008238/0.0008241, allocations: 98.41 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.656e-05, allocations: 12 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2468, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8233/1.07, allocations: 131.6 MB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.07, allocations: 73.27 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002421/1.073, allocations: 0.8383 MB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/1.073, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.073, allocations: 0 / 1.015 GB, free: 5.34 MB / 0.6355 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.0005481/1.073, allocations: 357.9 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/1.073, allocations: 8.031 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/1.073, allocations: 7.906 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/1.074, allocations: 163 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/1.074, allocations: 11.97 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/1.074, allocations: 4 kB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001148/1.074, allocations: 24.5 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/1.074, allocations: 36.83 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.074, allocations: 0 / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.074, allocations: 3.938 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.074, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/1.075, allocations: 287 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/1.075, allocations: 33.06 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/1.075, allocations: 16.17 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/1.075, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/1.075, allocations: 34.56 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.525e-06/1.075, allocations: 0 / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/1.075, allocations: 54.91 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/1.075, allocations: 55.48 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/1.075, allocations: 96.69 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/1.075, allocations: 25.7 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.429e-05/1.075, allocations: 87.58 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/1.075, allocations: 11.95 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.075, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.075, allocations: 322.8 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/1.075, allocations: 7.188 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/1.075, allocations: 7.438 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/1.075, allocations: 7.062 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.075, allocations: 0 / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.756e-05/1.076, allocations: 53.34 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.076, allocations: 11.94 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.076, allocations: 0 / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.076, allocations: 3.938 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.076, allocations: 23.98 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.076, allocations: 0 / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/1.076, allocations: 19.97 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/1.076, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.076, allocations: 104.9 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/1.076, allocations: 8 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/1.076, allocations: 7.406 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.076, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.076, allocations: 0 / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.076, allocations: 3.938 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/1.076, allocations: 149.4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.076, allocations: 0 / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/1.076, allocations: 23.97 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.076, allocations: 4 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.076, allocations: 3.625 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.076, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.076, allocations: 4 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/1.077, allocations: 150.2 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/1.077, allocations: 85.06 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/1.077, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/1.077, allocations: 19.98 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/1.077, allocations: 7.422 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/1.077, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.989e-05/1.077, allocations: 87.55 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.3e-07/1.077, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002218/1.077, allocations: 7.938 kB / 1.017 GB, free: 2.77 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/1.077, allocations: 103.2 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001146/1.077, allocations: 22.44 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.077, allocations: 0 / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/1.077, allocations: 15.12 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/1.078, allocations: 6.875 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002411/1.078, allocations: 75.52 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.078, allocations: 0.6846 MB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.125e-05/1.078, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/1.078, allocations: 11.38 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/1.078, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of Templates: time 0.002479/1.081, allocations: 495.7 kB / 1.018 GB, free: 1.344 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Product.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches