Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008165/0.0008166, allocations: 98.88 kB / 16.02 MB, free: 76 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.001107/0.001107, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003941, allocations: 19.98 kB / 0.8167 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.78, allocations: 142.4 MB / 0.9557 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.0008514/0.7809, allocations: 440.4 kB / 0.9561 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.7817, allocations: 0.8053 MB / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.7818, allocations: 0 / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.7818, allocations: 0 / 0.9569 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.7819, allocations: 8.797 kB / 0.9569 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.494e-05/0.7819, allocations: 10.3 kB / 0.9569 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.782, allocations: 37.55 kB / 0.957 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.7821, allocations: 10.95 kB / 0.957 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.7822, allocations: 14.53 kB / 0.957 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.7822, allocations: 24.41 kB / 0.957 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.7823, allocations: 2 kB / 0.957 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.7823, allocations: 1.438 kB / 0.957 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.7823, allocations: 5.406 kB / 0.957 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.7823, allocations: 44.31 kB / 0.9571 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.612e-05/0.7824, allocations: 26.81 kB / 0.9571 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7824, allocations: 0 / 0.9571 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7824, allocations: 0 / 0.9571 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7824, allocations: 0 / 0.9571 GB, free: 6.738 MB / 0.7169 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.0004236/0.7829, allocations: 369.3 kB / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.7829, allocations: 9 kB / 0.9575 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.7829, allocations: 7.75 kB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.783, allocations: 177.7 kB / 0.9576 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.783, allocations: 1.656 kB / 0.9576 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.7831, allocations: 5.906 kB / 0.9577 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.7833, allocations: 78.31 kB / 0.9577 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7833, allocations: 192 / 0.9577 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7833, allocations: 7.922 kB / 0.9577 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.7834, allocations: 5.406 kB / 0.9577 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.7837, allocations: 89.77 kB / 0.9578 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.784, allocations: 267.5 kB / 0.9581 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.7842, allocations: 74.55 kB / 0.9582 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.7844, allocations: 53.47 kB / 0.9582 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7844, allocations: 0 / 0.9582 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.7844, allocations: 31.59 kB / 0.9582 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.7844, allocations: 4 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005514/0.785, allocations: 163.6 kB / 0.9584 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.785, allocations: 51.41 kB / 0.9584 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.7851, allocations: 107.4 kB / 0.9585 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.7851, allocations: 26.73 kB / 0.9586 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.7851, allocations: 94.17 kB / 0.9587 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.7851, allocations: 8.969 kB / 0.9587 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.7852, allocations: 14.81 kB / 0.9587 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.7852, allocations: 316.2 kB / 0.959 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.7854, allocations: 38.88 kB / 0.959 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.7855, allocations: 44.06 kB / 0.9591 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.7858, allocations: 93.41 kB / 0.9592 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7858, allocations: 3.938 kB / 0.9592 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003306/0.7862, allocations: 116.9 kB / 0.9593 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7862, allocations: 5.344 kB / 0.9593 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7862, allocations: 5.078 kB / 0.9593 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.7862, allocations: 4 kB / 0.9593 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7864, allocations: 19.2 kB / 0.9593 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.7864, allocations: 0 / 0.9593 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.7865, allocations: 17.08 kB / 0.9593 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.7865, allocations: 4 kB / 0.9593 GB, free: 4.75 MB / 0.7169 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 5.361e-05/0.7865, allocations: 116.4 kB / 0.9594 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.7866, allocations: 5.25 kB / 0.9594 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.7866, allocations: 13.33 kB / 0.9594 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7866, allocations: 1.375 kB / 0.9594 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7866, allocations: 3.938 kB / 0.9595 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7866, allocations: 0 / 0.9595 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.7867, allocations: 169.5 kB / 0.9596 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7867, allocations: 0 / 0.9596 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.7868, allocations: 23.3 kB / 0.9596 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7869, allocations: 5.016 kB / 0.9596 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.7869, allocations: 0 / 0.9596 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7869, allocations: 4.969 kB / 0.9596 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7869, allocations: 0 / 0.9596 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.7872, allocations: 216.6 kB / 0.9599 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.7873, allocations: 81.02 kB / 0.9599 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.7873, allocations: 5.75 kB / 0.9599 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.7874, allocations: 22.72 kB / 0.96 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.7874, allocations: 2.031 kB / 0.96 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.7875, allocations: 5.781 kB / 0.96 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.7875, allocations: 88.86 kB / 0.96 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7875, allocations: 3.938 kB / 0.9601 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002105/0.7877, allocations: 7.812 kB / 0.9601 GB, free: 4.012 MB / 0.7169 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.0001273/0.7878, allocations: 100.7 kB / 0.9602 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.7882, allocations: 90.27 kB / 0.9602 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7882, allocations: 0 / 0.9602 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.7884, allocations: 46.14 kB / 0.9603 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.7887, allocations: 19.39 kB / 0.9603 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.7889, allocations: 157 kB / 0.9605 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.7891, allocations: 0.684 MB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.7891, allocations: 9.312 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7891, allocations: 0 / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Templates: time 0.00191/0.791, allocations: 0.7298 MB / 0.9618 GB, free: 2.625 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches