Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.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.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001657/0.001657, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.2 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.428/2.428, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 65.38 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3454, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.002228/0.3477, allocations: 0.6608 MB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009301/0.3487, allocations: 0.7962 MB / 0.9526 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.3487, allocations: 0 / 0.9526 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.3488, allocations: 3.938 kB / 0.9526 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.3488, allocations: 3.938 kB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.527e-05/0.3489, allocations: 11.98 kB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.466e-05/0.349, allocations: 23.98 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3491, allocations: 7.938 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.3492, allocations: 11.92 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.3493, allocations: 11.94 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.3493, allocations: 4 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.3493, allocations: 0 / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.3493, allocations: 3.984 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.3494, allocations: 15.92 kB / 0.9527 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.301e-05/0.3495, allocations: 27.91 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3495, allocations: 4 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3495, allocations: 0 / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3495, allocations: 0 / 0.9527 GB, free: 6.461 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005368/0.35, allocations: 335.4 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3501, allocations: 8.031 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.3501, allocations: 12.84 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3503, allocations: 164.4 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3503, allocations: 4.375 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3503, allocations: 384 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.3506, allocations: 50.23 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3506, allocations: 192 / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3506, allocations: 7.875 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3506, allocations: 4 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3508, allocations: 27.97 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.3512, allocations: 253 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3513, allocations: 40.61 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.3514, allocations: 20.91 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.3514, allocations: 0 / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3515, allocations: 38.5 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3515, allocations: 4 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003494/0.3518, allocations: 81.58 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3519, allocations: 55.41 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.352, allocations: 105.8 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.352, allocations: 25.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.3521, allocations: 88.17 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3521, allocations: 4 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3521, allocations: 13.72 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3523, allocations: 318.8 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.3524, allocations: 19.92 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.3524, allocations: 11.98 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3526, allocations: 48.81 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3526, allocations: 0 / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.3528, allocations: 73.52 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3528, allocations: 4 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3528, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3528, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.3529, allocations: 11.98 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3529, allocations: 4.031 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.353, allocations: 7.984 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.353, allocations: 0 / 0.9545 GB, free: 4.43 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 (2): * Single equations (assignments): 2 * 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 9.577e-05/0.3531, allocations: 115.8 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.3531, allocations: 0 / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.3532, allocations: 11.06 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3532, allocations: 3.984 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3532, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3532, allocations: 4 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3534, allocations: 165.6 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3534, allocations: 0 / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.3534, allocations: 7.984 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3534, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3535, allocations: 4 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3535, allocations: 3.984 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3535, allocations: 0 / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3537, allocations: 167.5 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.3538, allocations: 81.02 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3538, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.3539, allocations: 7.984 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.3539, allocations: 0 / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.3539, allocations: 4.25 kB / 0.955 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.354, allocations: 91.22 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.354, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002076/0.3542, allocations: 11.97 kB / 0.9551 GB, free: 3.672 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 (2): * Single equations (assignments): 2 * 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.0002021/0.3544, allocations: 107.2 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.3547, allocations: 31.97 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3547, allocations: 3.938 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.3548, allocations: 19.98 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3551, allocations: 13.09 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.3554, allocations: 105.6 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3557, allocations: 0.6805 MB / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.3558, allocations: 0 / 0.956 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.3558, allocations: 7.438 kB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3558, allocations: 0 / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Templates: time 0.003023/0.3588, allocations: 452.3 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches