Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.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.425/2.425, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 71.88 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6333/0.6348, allocations: 140.4 MB / 0.9493 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001696/0.6365, allocations: 0.7598 MB / 0.95 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006028/0.6371, allocations: 0.8021 MB / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.6371, allocations: 0 / 0.9508 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.6372, allocations: 3.938 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.6373, allocations: 1.375 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.013e-05/0.6373, allocations: 17.3 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.6374, allocations: 41.66 kB / 0.9508 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.6375, allocations: 11.95 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.6375, allocations: 22.8 kB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.6376, allocations: 21.42 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.6376, allocations: 2.75 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.6376, allocations: 4.125 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.6376, allocations: 13.3 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.6377, allocations: 10.69 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.383e-05/0.6377, allocations: 40.11 kB / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6377, allocations: 0 / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6377, allocations: 0 / 0.951 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.6378, allocations: 3.938 kB / 0.951 GB, free: 7.754 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004354/0.6382, allocations: 378.2 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6382, allocations: 9.625 kB / 0.9513 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.6383, allocations: 30.75 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.03e-05/0.6383, allocations: 3.688 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.666e-05/0.6384, allocations: 171 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.6384, allocations: 1.75 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.6384, allocations: 5.688 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.6386, allocations: 74.83 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.6386, allocations: 3.938 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.6386, allocations: 1.375 kB / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.6387, allocations: 0 / 0.9516 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.6389, allocations: 63.67 kB / 0.9517 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.6392, allocations: 276 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.6394, allocations: 52.55 kB / 0.952 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6395, allocations: 38.5 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.6396, allocations: 1.094 kB / 0.952 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.6396, allocations: 35.84 kB / 0.9521 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.562e-06/0.6396, allocations: 3.984 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004944/0.6401, allocations: 128.8 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.6401, allocations: 52.09 kB / 0.9522 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.6402, allocations: 116.2 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.6402, allocations: 25.7 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.6402, allocations: 85.75 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.6402, allocations: 14.44 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.6403, allocations: 11.19 kB / 0.9525 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.6403, allocations: 316.2 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.6405, allocations: 37.55 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6406, allocations: 33.44 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.6409, allocations: 71.5 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6409, allocations: 0 / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003025/0.6412, allocations: 106.6 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6412, allocations: 4.156 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6412, allocations: 0 / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6412, allocations: 1.281 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.6414, allocations: 18.41 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6414, allocations: 0 / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.6414, allocations: 10.67 kB / 0.9531 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.6415, allocations: 5.406 kB / 0.9531 GB, free: 5.734 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 (3): * Single equations (assignments): 3 * 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 4.635e-05/0.6415, allocations: 115.1 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.6415, allocations: 2.5 kB / 0.9532 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.6416, allocations: 5.375 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6416, allocations: 7.922 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6416, allocations: 3.938 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.6416, allocations: 1.281 kB / 0.9532 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.6417, allocations: 170 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6417, allocations: 0 / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.6418, allocations: 17.02 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6418, allocations: 1.406 kB / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.6418, allocations: 0 / 0.9534 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6418, allocations: 9.141 kB / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6419, allocations: 0 / 0.9534 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.6422, allocations: 200.1 kB / 0.9536 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.6422, allocations: 78.2 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.6422, allocations: 1.562 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.6423, allocations: 9.797 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.6424, allocations: 10.58 kB / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.6424, allocations: 0 / 0.9537 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.6424, allocations: 89.61 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6424, allocations: 0 / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00022/0.6426, allocations: 11.19 kB / 0.9538 GB, free: 5.008 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 (3): * Single equations (assignments): 3 * 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.0004843/0.6431, allocations: 0.728 MB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.6434, allocations: 74.8 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6434, allocations: 1 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6436, allocations: 40.58 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.6439, allocations: 8.188 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.6443, allocations: 164.3 kB / 0.9547 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.6444, allocations: 0.6834 MB / 0.9554 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.6444, allocations: 1.188 kB / 0.9554 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.6444, allocations: 16.8 kB / 0.9554 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6444, allocations: 4 kB / 0.9554 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.6597, allocations: 1.419 MB / 0.9568 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.6599, allocations: 215.3 kB / 0.957 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.489, allocations: 0 / 0.957 GB, free: 2.391 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches