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.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: "" <> 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.001539/0.001539, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001272/0.001272, allocations: 195 kB / 16.14 MB, free: 6.648 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.146/2.146, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.91 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5125, allocations: 140.3 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Multiply): time 0.001476/0.514, allocations: 0.7676 MB / 0.9498 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.5146, allocations: 0.8012 MB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.5146, allocations: 1.094 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.5147, allocations: 7.922 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.5147, allocations: 5.125 kB / 0.9506 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.264e-05/0.5148, allocations: 5.094 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.5148, allocations: 44.72 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.5149, allocations: 9.062 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.868e-05/0.515, allocations: 18.11 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.515, allocations: 25.11 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.515, allocations: 2.312 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.515, allocations: 2.156 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.5151, allocations: 13.03 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.5151, allocations: 15.58 kB / 0.9507 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.361e-05/0.5152, allocations: 34.28 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5152, allocations: 1.312 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5152, allocations: 0 / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5152, allocations: 0 / 0.9508 GB, free: 7.691 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.0003746/0.5156, allocations: 365.8 kB / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.5156, allocations: 8.688 kB / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.224e-05/0.5156, allocations: 40.19 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.5157, allocations: 3.656 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.757e-05/0.5157, allocations: 174.8 kB / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.5157, allocations: 384 / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.5157, allocations: 6.938 kB / 0.9513 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.516, allocations: 66.47 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.516, allocations: 5.094 kB / 0.9514 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.516, allocations: 0 / 0.9514 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.516, allocations: 5.281 kB / 0.9514 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.5163, allocations: 63.33 kB / 0.9515 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.5165, allocations: 279 kB / 0.9517 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.5167, allocations: 56 kB / 0.9518 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5168, allocations: 39.52 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.5168, allocations: 1.219 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.5169, allocations: 31.75 kB / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.5169, allocations: 0 / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004452/0.5173, allocations: 136.8 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.5173, allocations: 52.75 kB / 0.952 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.5174, allocations: 107.4 kB / 0.9521 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.5174, allocations: 26.95 kB / 0.9522 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.5174, allocations: 93.52 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.5174, allocations: 9.438 kB / 0.9523 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.5175, allocations: 16.16 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.5175, allocations: 315.9 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.5176, allocations: 28.84 kB / 0.9526 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.5178, allocations: 34.05 kB / 0.9527 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.518, allocations: 74.78 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.518, allocations: 1.125 kB / 0.9527 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002644/0.5183, allocations: 100.8 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5183, allocations: 7.219 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.5183, allocations: 4 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5183, allocations: 1.344 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.5184, allocations: 13.77 kB / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5184, allocations: 0 / 0.9528 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.5185, allocations: 15.23 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.5185, allocations: 1.562 kB / 0.9529 GB, free: 5.676 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.083e-05/0.5186, allocations: 115.3 kB / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.5186, allocations: 5.828 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.5186, allocations: 9.156 kB / 0.953 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5186, allocations: 5.422 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5186, allocations: 3.938 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.5186, allocations: 0 / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.5187, allocations: 169.7 kB / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5188, allocations: 0 / 0.9532 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.5188, allocations: 18.91 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5189, allocations: 0 / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5189, allocations: 1.375 kB / 0.9532 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5189, allocations: 7.938 kB / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5189, allocations: 0 / 0.9532 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.5192, allocations: 195.9 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.5192, allocations: 83.19 kB / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5192, allocations: 0 / 0.9534 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.5193, allocations: 14.83 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.5193, allocations: 2.031 kB / 0.9535 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.5194, allocations: 5.125 kB / 0.9535 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.45e-05/0.5194, allocations: 94.25 kB / 0.9536 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5194, allocations: 0 / 0.9536 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002025/0.5196, allocations: 6.375 kB / 0.9536 GB, free: 4.945 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.0004289/0.52, allocations: 0.7365 MB / 0.9543 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.5203, allocations: 70.05 kB / 0.9544 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5203, allocations: 3.938 kB / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.5205, allocations: 33.72 kB / 0.9544 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.5207, allocations: 18.73 kB / 0.9544 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.521, allocations: 167.7 kB / 0.9546 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.659e-05/0.5211, allocations: 0.68 MB / 0.9552 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.5212, allocations: 0 / 0.9552 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.5212, allocations: 13.22 kB / 0.9552 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of SimCode: time 1.9e-07/0.5212, allocations: 0 / 0.9552 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.293/2.814, allocations: 1.351 MB / 0.9566 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/2.814, allocations: 211.3 kB / 0.9568 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/4.421, allocations: 0 / 0.9568 GB, free: 2.352 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