Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 105.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002362/0.002362, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.603/1.603, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.517/3.517, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 67.03 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4222, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.00283/0.425, allocations: 0.6701 MB / 1.322 GB, free: 2.129 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.4268, allocations: 0.828 MB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.4269, allocations: 4 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.166e-05/0.427, allocations: 0 / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.4271, allocations: 3.938 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.906e-05/0.4271, allocations: 4 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.4273, allocations: 23.92 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.4274, allocations: 7.984 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.4275, allocations: 15.92 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.4276, allocations: 11.92 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.4276, allocations: 4 kB / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-06/0.4276, allocations: 0 / 1.323 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.4277, allocations: 8 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.4277, allocations: 11.94 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.4278, allocations: 27.83 kB / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4279, allocations: 0 / 1.323 GB, free: 1.168 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4279, allocations: 3.938 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4279, allocations: 0 / 1.323 GB, free: 1.164 MB / 1.014 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.0007312/0.4286, allocations: 339.5 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.4287, allocations: 11.98 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.4287, allocations: 0.9375 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.4289, allocations: 176.3 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.4289, allocations: 384 / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.429, allocations: 384 / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.4292, allocations: 50.23 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4292, allocations: 192 / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4292, allocations: 3.938 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4292, allocations: 4 kB / 1.323 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.4294, allocations: 31.95 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.43, allocations: 249 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.4302, allocations: 50.42 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4303, allocations: 20.89 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.4303, allocations: 0 / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4304, allocations: 38.56 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4304, allocations: 0 / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0005318/0.4309, allocations: 77.64 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.431, allocations: 55.34 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4311, allocations: 105.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.4312, allocations: 25.83 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.4313, allocations: 96.08 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4313, allocations: 7.938 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.4313, allocations: 9.719 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002407/0.4316, allocations: 314.8 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.4317, allocations: 19.97 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.4318, allocations: 15.98 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.432, allocations: 44.83 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.432, allocations: 0 / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002584/0.4322, allocations: 77.48 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4322, allocations: 4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.4323, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.4323, allocations: 0 / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.4324, allocations: 16.02 kB / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4324, allocations: 0 / 1.325 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.4325, allocations: 4 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4325, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 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 0.0001644/0.4327, allocations: 117.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.4327, allocations: 4 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/0.4327, allocations: 3.125 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4327, allocations: 3.938 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4327, allocations: 4.25 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4328, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.433, allocations: 161.6 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.433, allocations: 7.984 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.4331, allocations: 4 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4331, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4331, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4331, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4331, allocations: 0 / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.4335, allocations: 175.3 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.4336, allocations: 81.11 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.4336, allocations: 3.984 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.4337, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.194e-05/0.4337, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.4338, allocations: 0 / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.816e-05/0.4338, allocations: 87.3 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4338, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002641/0.4341, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 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.0003382/0.4344, allocations: 99.25 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.4347, allocations: 39.95 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4347, allocations: 4 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.4348, allocations: 19.98 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.4353, allocations: 17.42 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.436, allocations: 112.9 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.4365, allocations: 0.6768 MB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.4366, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.4366, allocations: 11.44 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4366, allocations: 0 / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Templates: time 0.004141/0.4407, allocations: 436.5 kB / 1.327 GB, free: 12.92 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.70420826971531]