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.001521/0.001521, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001615/0.001615, allocations: 191 kB / 17.29 MB, free: 5.516 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.344/2.344, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 68.44 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3444, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.002249/0.3468, allocations: 0.6996 MB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.3478, allocations: 0.8157 MB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.3478, allocations: 0 / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.3479, allocations: 0 / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.348, allocations: 7.875 kB / 0.9526 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.784e-05/0.3481, allocations: 11.98 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.3481, allocations: 43.91 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3483, allocations: 4 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.3483, allocations: 27.92 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.3484, allocations: 15.92 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3484, allocations: 4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.3484, allocations: 4 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.3484, allocations: 15.91 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3485, allocations: 19.92 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.973e-05/0.3486, allocations: 39.88 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3486, allocations: 0 / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3486, allocations: 0 / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3486, allocations: 3.938 kB / 0.9528 GB, free: 6.297 MB / 0.7325 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.0005426/0.3492, allocations: 367.2 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3492, allocations: 12.03 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.3492, allocations: 0.9375 kB / 0.9532 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3494, allocations: 176.2 kB / 0.9533 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3494, allocations: 4.375 kB / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3494, allocations: 384 / 0.9533 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3497, allocations: 76.33 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3497, allocations: 192 / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3497, allocations: 7.875 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3497, allocations: 0 / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.35, allocations: 63.92 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.3503, allocations: 268.9 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3505, allocations: 58.48 kB / 0.9538 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/0.3507, allocations: 40.91 kB / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3507, allocations: 0 / 0.9538 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3507, allocations: 34.56 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3507, allocations: 4 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004825/0.3512, allocations: 129.4 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3513, allocations: 55.39 kB / 0.954 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.3513, allocations: 109.8 kB / 0.9542 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3514, allocations: 29.7 kB / 0.9542 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.3514, allocations: 84.14 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3514, allocations: 7.906 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.3515, allocations: 13.72 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3516, allocations: 318.8 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.3517, allocations: 27.97 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3519, allocations: 35.95 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.3521, allocations: 68.73 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3521, allocations: 3.938 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002862/0.3524, allocations: 101.5 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3525, allocations: 9.859 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3525, allocations: 0 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3525, allocations: 336 / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3526, allocations: 15.98 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3526, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.3527, allocations: 11.98 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3527, allocations: 4.25 kB / 0.9549 GB, free: 3.977 MB / 0.7325 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.816e-05/0.3528, allocations: 123.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.3528, allocations: 3.984 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3529, allocations: 11.89 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3529, allocations: 4 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3529, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3529, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3531, allocations: 169.5 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3531, allocations: 0 / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.425e-05/0.3532, allocations: 27.91 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3532, allocations: 8 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3532, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3532, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3532, allocations: 0 / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3535, allocations: 191.4 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.3536, allocations: 85.05 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3536, allocations: 4 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3537, allocations: 15.97 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3538, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3538, allocations: 0 / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.3538, allocations: 95.25 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3538, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002165/0.354, allocations: 4 kB / 0.9556 GB, free: 3.148 MB / 0.7325 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.0001642/0.3542, allocations: 107.2 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003404/0.3546, allocations: 67.92 kB / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.3546, allocations: 0 / 0.9557 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.3547, allocations: 35.95 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3551, allocations: 15.94 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.3558, allocations: 129.4 kB / 0.9559 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.3562, allocations: 0.6844 MB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.659e-05/0.3563, allocations: 7.984 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.3563, allocations: 7.438 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of SimCode: time 6.01e-07/0.3563, allocations: 0 / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.003808/0.3601, allocations: 0.6675 MB / 0.9572 GB, free: 1.383 MB / 0.7325 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 -s cvode -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