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.001174/0.001174, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001663/0.001663, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.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.593/2.593, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9209/0.9213, allocations: 142.4 MB / 0.9545 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiplyByParameter): time 0.0008909/0.9222, allocations: 400 kB / 0.9548 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.923, allocations: 0.7824 MB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.9231, allocations: 1.031 kB / 0.9556 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.9231, allocations: 3.938 kB / 0.9556 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.22e-05/0.9232, allocations: 0 / 0.9556 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.363e-05/0.9233, allocations: 5.734 kB / 0.9556 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.9234, allocations: 24.61 kB / 0.9556 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.065e-05/0.9235, allocations: 2.156 kB / 0.9556 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.9235, allocations: 6.812 kB / 0.9557 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.9236, allocations: 11.42 kB / 0.9557 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.9236, allocations: 4.656 kB / 0.9557 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-06/0.9236, allocations: 1.219 kB / 0.9557 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.9236, allocations: 5 kB / 0.9557 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.9236, allocations: 31.05 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.471e-05/0.9237, allocations: 23.38 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9237, allocations: 0 / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9237, allocations: 0 / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9237, allocations: 0 / 0.9557 GB, free: 6.727 MB / 0.7169 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.0003704/0.9241, allocations: 342.9 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.9241, allocations: 9.438 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.9242, allocations: 5.078 kB / 0.9561 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.9243, allocations: 161.1 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.9243, allocations: 0.9062 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.9243, allocations: 0.9375 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.9244, allocations: 57.52 kB / 0.9563 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.9245, allocations: 4.938 kB / 0.9563 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.9245, allocations: 0 / 0.9563 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.9245, allocations: 4.938 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.9246, allocations: 48.34 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.9249, allocations: 253.6 kB / 0.9566 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9251, allocations: 39.88 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.9251, allocations: 35.95 kB / 0.9566 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.9252, allocations: 3.938 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.9252, allocations: 31.41 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9252, allocations: 0.875 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003293/0.9255, allocations: 107.6 kB / 0.9568 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.9256, allocations: 51.41 kB / 0.9568 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.9256, allocations: 100.2 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.9256, allocations: 25.7 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.9257, allocations: 81.36 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.9257, allocations: 13.14 kB / 0.957 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.9257, allocations: 128 / 0.957 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.504e-05/0.9258, allocations: 316 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.9258, allocations: 21.86 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.657e-05/0.9259, allocations: 22.89 kB / 0.9574 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.017e-05/0.926, allocations: 30.41 kB / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.926, allocations: 0 / 0.9574 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.9262, allocations: 70.27 kB / 0.9575 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.9262, allocations: 9.531 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9262, allocations: 0 / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.9262, allocations: 0 / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.303e-05/0.9263, allocations: 16.88 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9264, allocations: 0 / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.9264, allocations: 10.42 kB / 0.9575 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.9264, allocations: 1.219 kB / 0.9575 GB, free: 4.941 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.9265, allocations: 111 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.9265, allocations: 8.969 kB / 0.9576 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.9265, allocations: 4.219 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9265, allocations: 1.344 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9265, allocations: 3.953 kB / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9266, allocations: 0 / 0.9576 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.9267, allocations: 162.3 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9267, allocations: 5.406 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.9267, allocations: 15.83 kB / 0.9578 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9268, allocations: 9.547 kB / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.9268, allocations: 0 / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.9268, allocations: 0 / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9268, allocations: 0 / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.927, allocations: 176.9 kB / 0.958 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.927, allocations: 78.45 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.927, allocations: 0.875 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.9271, allocations: 10.8 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.9271, allocations: 1.375 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.9271, allocations: 0 / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.9272, allocations: 82.75 kB / 0.9582 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9272, allocations: 4.938 kB / 0.9582 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002189/0.9274, allocations: 7.922 kB / 0.9582 GB, free: 4.246 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001338/0.9275, allocations: 113.6 kB / 0.9583 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.9277, allocations: 47.19 kB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9278, allocations: 0 / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.9278, allocations: 25.05 kB / 0.9583 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.9281, allocations: 4.094 kB / 0.9584 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.9284, allocations: 107.7 kB / 0.9585 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.9285, allocations: 0.6814 MB / 0.9591 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.9286, allocations: 1.219 kB / 0.9591 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.13e-05/0.9286, allocations: 11.38 kB / 0.9591 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9286, allocations: 1.094 kB / 0.9591 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.002524/0.9311, allocations: 358.1 kB / 0.9595 GB, free: 3.098 MB / 0.7169 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/jenkins/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