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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001508/0.001508, allocations: 104.6 kB / 16.41 MB, free: 6.465 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.001804/0.001804, allocations: 187 kB / 17.34 MB, free: 5.719 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 63.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.819, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.001867/0.8209, allocations: 0.6658 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008783/0.8218, allocations: 0.7822 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.8219, allocations: 5.125 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.822, allocations: 4.5 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.822, allocations: 3.938 kB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.944e-05/0.8221, allocations: 7.969 kB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.397e-05/0.8222, allocations: 29.53 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.8223, allocations: 3.906 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.631e-05/0.8224, allocations: 9.484 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.8224, allocations: 9.578 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.8225, allocations: 2.438 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.8225, allocations: 6.156 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.818e-05/0.8225, allocations: 5.312 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.8225, allocations: 15.2 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.8226, allocations: 25.2 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8226, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8226, allocations: 0 / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.8227, allocations: 4.734 kB / 1.09 GB, free: 4.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004302/0.8231, allocations: 341.3 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.8231, allocations: 14 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.8232, allocations: 1.969 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.8233, allocations: 163.9 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.8233, allocations: 1.688 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.8233, allocations: 1.719 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.8235, allocations: 52.16 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8235, allocations: 1.344 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8235, allocations: 7.922 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8235, allocations: 0 / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.8237, allocations: 37.89 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.8241, allocations: 247 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.8242, allocations: 40.89 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.8243, allocations: 24.28 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.8243, allocations: 4 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.8244, allocations: 40.22 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8244, allocations: 0 / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000368/0.8247, allocations: 80.36 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.8248, allocations: 51.41 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.891e-05/0.8248, allocations: 111.1 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.8249, allocations: 25.7 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.8249, allocations: 87.67 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.8249, allocations: 5.031 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.825, allocations: 12.27 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.825, allocations: 317.5 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.8251, allocations: 18.09 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.8252, allocations: 22.16 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.8254, allocations: 38.12 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8254, allocations: 0 / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001985/0.8256, allocations: 70.44 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8256, allocations: 6.234 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.8256, allocations: 4.094 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8257, allocations: 0.9688 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.8258, allocations: 8.906 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8258, allocations: 0 / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.8258, allocations: 5.781 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.8258, allocations: 9.109 kB / 1.092 GB, free: 2.707 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 (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 5.698e-05/0.8259, allocations: 115.7 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.8259, allocations: 1.859 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.826, allocations: 8.672 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.826, allocations: 1.672 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.826, allocations: 3.938 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.826, allocations: 0.8125 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.8261, allocations: 160.2 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8261, allocations: 1.156 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.8262, allocations: 8.625 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8262, allocations: 0 / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.8262, allocations: 5.766 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8262, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8262, allocations: 5.062 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.8265, allocations: 161.8 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.8265, allocations: 80.59 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.8265, allocations: 1.516 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.8266, allocations: 14.17 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.8267, allocations: 10.22 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.8267, allocations: 1.578 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.8267, allocations: 80.95 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8267, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002067/0.8269, allocations: 3.188 kB / 1.093 GB, free: 2.047 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 (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.0001421/0.8271, allocations: 105.1 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.8273, allocations: 38.66 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8273, allocations: 0.7812 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.8274, allocations: 16.19 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.8277, allocations: 11.67 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.8279, allocations: 131.5 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.883e-05/0.8281, allocations: 0.6766 MB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.8281, allocations: 8.781 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.8281, allocations: 4.125 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of Templates: time 0.002168/0.8303, allocations: 0.5548 MB / 1.094 GB, free: 1.066 MB / 0.8575 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 -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