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.009561/0.009561, allocations: 109.7 kB / 15.71 MB, free: 6.48 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.001941/0.001941, allocations: 191.9 kB / 16.64 MB, free: 6.395 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.518/1.518, allocations: 222.9 MB / 240.3 MB, free: 4.18 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.656/2.656, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.31 kB / 0.9509 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4185, allocations: 140.4 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002383/0.421, allocations: 0.7042 MB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.4223, allocations: 0.8082 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.4224, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.4224, allocations: 7.875 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.4225, allocations: 3.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.955e-05/0.4226, allocations: 15.98 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.4228, allocations: 43.86 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.423, allocations: 15.97 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.4231, allocations: 15.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.4232, allocations: 23.92 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.4232, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.4232, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.938e-05/0.4233, allocations: 7.984 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.4233, allocations: 15.88 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.4235, allocations: 39.88 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.4235, allocations: 3.984 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4235, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4235, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 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.0007927/0.4243, allocations: 359.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.4244, allocations: 8.031 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.4244, allocations: 8.844 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.4246, allocations: 172.2 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4247, allocations: 8.375 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4247, allocations: 384 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.425, allocations: 70.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.425, allocations: 192 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.4251, allocations: 7.938 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4251, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.4254, allocations: 71.86 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.4259, allocations: 264.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.4261, allocations: 58.47 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.4263, allocations: 44.91 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4263, allocations: 0 / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4264, allocations: 34.56 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.4264, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005955/0.427, allocations: 129.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.427, allocations: 51.41 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4271, allocations: 105.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4272, allocations: 25.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.4272, allocations: 92.12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.4273, allocations: 7.812 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.4273, allocations: 17.72 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4275, allocations: 314.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4276, allocations: 35.95 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.4278, allocations: 31.95 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.428, allocations: 72.72 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.4281, allocations: 7.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003162/0.4284, allocations: 97.56 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4284, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4284, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4284, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4286, allocations: 19.97 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.4286, allocations: 8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.779e-05/0.4287, allocations: 15.98 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4287, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 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 8.491e-05/0.4288, allocations: 109.8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.4288, allocations: 7.906 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4289, allocations: 7.906 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4289, allocations: 3.984 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4289, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4289, allocations: 8 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4291, allocations: 169.5 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4291, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.4292, allocations: 11.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4292, allocations: 3.938 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4292, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4292, allocations: 3.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4292, allocations: 7.984 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.4296, allocations: 195.4 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.4297, allocations: 81.02 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.4297, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.4298, allocations: 11.98 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4299, allocations: 3.984 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4299, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.4299, allocations: 95.56 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002251/0.4302, allocations: 8 kB / 1.092 GB, free: 12.49 MB / 0.8575 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.0001748/0.4303, allocations: 99.25 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.4307, allocations: 75.86 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4307, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4309, allocations: 31.97 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4312, allocations: 14.27 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.4317, allocations: 125.6 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.4321, allocations: 0.6884 MB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.131e-05/0.4322, allocations: 384 / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.4322, allocations: 11.44 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.4322, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of Templates: time 0.004114/0.4363, allocations: 0.6794 MB / 1.094 GB, free: 10.72 MB / 0.8575 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/jenkins/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