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.002037/0.002038, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.002283/0.002283, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.17 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.376/2.376, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 70.09 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, 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.002243/0.3251, allocations: 0.6685 MB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.326, allocations: 0.7962 MB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.326, allocations: 0 / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.3261, allocations: 3.938 kB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.3261, allocations: 0 / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.689e-05/0.3262, allocations: 7.984 kB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.3263, allocations: 31.92 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3264, allocations: 4 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.3264, allocations: 11.92 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.3265, allocations: 7.938 kB / 0.9526 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3265, allocations: 4 kB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.3265, allocations: 0 / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3266, allocations: 11.97 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3266, allocations: 15.88 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.3267, allocations: 23.91 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3267, allocations: 0 / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3267, allocations: 4 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3267, allocations: 0 / 0.9527 GB, free: 6.457 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.0005905/0.3273, allocations: 339.4 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3273, allocations: 8.031 kB / 0.953 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.3274, allocations: 12.83 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.3276, allocations: 160.4 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3276, allocations: 384 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3276, allocations: 384 / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.3279, allocations: 58.22 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3279, allocations: 192 / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3279, allocations: 3.938 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3279, allocations: 4 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3281, allocations: 35.91 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.3285, allocations: 252.9 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.3286, allocations: 44.61 kB / 0.9536 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.3287, allocations: 16.91 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3287, allocations: 0 / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.3288, allocations: 42.55 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3288, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.3291, allocations: 77.59 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3292, allocations: 55.41 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3293, allocations: 101.8 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3293, allocations: 25.7 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3294, allocations: 92.05 kB / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3294, allocations: 0 / 0.954 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.3294, allocations: 17.83 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3296, allocations: 318.8 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.3297, allocations: 11.98 kB / 0.9543 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.386e-05/0.3298, allocations: 16.23 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3299, allocations: 44.75 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3299, allocations: 8.062 kB / 0.9544 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001857/0.3301, allocations: 69.52 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3301, allocations: 4 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3301, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3302, allocations: 0 / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.3303, allocations: 11.98 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3303, allocations: 0 / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.3303, allocations: 7.984 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3303, allocations: 4.031 kB / 0.9545 GB, free: 4.422 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.875e-05/0.3304, allocations: 119.8 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3305, allocations: 0 / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.3305, allocations: 3.125 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.3305, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3305, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3305, allocations: 4 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3307, allocations: 161.6 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3307, allocations: 0 / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.747e-05/0.3308, allocations: 19.92 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3308, allocations: 0 / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3308, allocations: 4 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3308, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3308, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.3311, allocations: 159.5 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3311, allocations: 85.05 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3311, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.3312, allocations: 15.92 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3313, allocations: 0 / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.3313, allocations: 4 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.3313, allocations: 79.28 kB / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3313, allocations: 0 / 0.9551 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002206/0.3316, allocations: 7.938 kB / 0.9551 GB, free: 3.68 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.0002361/0.3318, allocations: 111.2 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.332, allocations: 35.91 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3321, allocations: 0 / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.3321, allocations: 15.98 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3325, allocations: 14.11 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.3329, allocations: 113.7 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3332, allocations: 0.6766 MB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.3332, allocations: 0 / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3332, allocations: 11.38 kB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of SimCode: time 1.834e-06/0.3332, allocations: 0 / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Templates: time 0.00259/0.3358, allocations: 454.8 kB / 0.9565 GB, free: 2.207 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 gbode -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