Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain1.u|gain1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001331/0.001331, allocations: 187 kB / 17.34 MB, free: 5.762 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.456/2.456, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 75.91 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7338, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001839/0.7357, allocations: 0.6651 MB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00088/0.7366, allocations: 0.7922 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.7366, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.7367, allocations: 0 / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.7368, allocations: 7.938 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.267e-05/0.7368, allocations: 11.98 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.7369, allocations: 23.92 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.737, allocations: 8 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.7371, allocations: 11.94 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.7371, allocations: 7.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.7371, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.7371, allocations: 4 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.7372, allocations: 3.938 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.7372, allocations: 15.97 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.499e-05/0.7373, allocations: 23.91 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7373, allocations: 0 / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7373, allocations: 4 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.7373, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 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.0004204/0.7377, allocations: 339.3 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7378, allocations: 8.031 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.7378, allocations: 4.938 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7379, allocations: 168.3 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.738, allocations: 8.312 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.738, allocations: 4.375 kB / 1.211 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7381, allocations: 54.17 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.7382, allocations: 192 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7382, allocations: 7.922 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.7382, allocations: 0 / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.7384, allocations: 31.97 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.7387, allocations: 248.8 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.7388, allocations: 46.47 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.7389, allocations: 24.91 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.7389, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.739, allocations: 38.56 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.739, allocations: 0 / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003382/0.7393, allocations: 81.64 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.7393, allocations: 55.34 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.7394, allocations: 105.8 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7395, allocations: 25.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.7395, allocations: 84.27 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7395, allocations: 3.906 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.7396, allocations: 17.72 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.7397, allocations: 314.8 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.7397, allocations: 15.98 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.7398, allocations: 15.98 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.74, allocations: 36.89 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.74, allocations: 0 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.7402, allocations: 77.53 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.7402, allocations: 8 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7402, allocations: 256 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7402, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.7403, allocations: 11.98 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.7403, allocations: 4.031 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.7404, allocations: 7.984 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.7404, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 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 6.657e-05/0.7405, allocations: 113.8 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.7405, allocations: 3.906 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.7405, allocations: 7.125 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.7405, allocations: 4 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7405, allocations: 3.938 kB / 1.212 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7406, allocations: 4 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.7407, allocations: 161.6 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7407, allocations: 0 / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.7408, allocations: 8 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7408, allocations: 3.938 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.7408, allocations: 3.984 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7408, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7408, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.741, allocations: 167.4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.7411, allocations: 82.92 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.7411, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.7412, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.7412, allocations: 7.984 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.7412, allocations: 0 / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.689e-05/0.7413, allocations: 83.28 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7413, allocations: 4.031 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002102/0.7415, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 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.0001282/0.7416, allocations: 99.25 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.7418, allocations: 35.95 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7418, allocations: 0 / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.7419, allocations: 27.98 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.7422, allocations: 7.938 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.7425, allocations: 135.1 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.7427, allocations: 0.6768 MB / 1.213 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.7428, allocations: 7.438 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7428, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of Templates: time 0.001693/0.7445, allocations: 0.551 MB / 1.214 GB, free: 7.652 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches