Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.176/3.176, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 80.81 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3683, allocations: 176.1 MB / 1.325 GB, free: 2.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.00227/0.3705, allocations: 0.696 MB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3717, allocations: 0.832 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.3718, allocations: 0 / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.3718, allocations: 7.922 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.3719, allocations: 7.922 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.853e-05/0.372, allocations: 11.98 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.3721, allocations: 43.86 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3722, allocations: 15.92 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.3722, allocations: 15.98 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.089e-05/0.3723, allocations: 19.92 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3723, allocations: 4 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.3723, allocations: 4 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.3723, allocations: 7.938 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.3724, allocations: 19.86 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3725, allocations: 44.08 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3725, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3725, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3725, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 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.0005528/0.3731, allocations: 290.2 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3731, allocations: 12.03 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.3731, allocations: 34.73 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.3732, allocations: 0.9375 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3733, allocations: 122.4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3733, allocations: 4.375 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3733, allocations: 4.375 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.3736, allocations: 66.22 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3736, allocations: 7.875 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3736, allocations: 8 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3736, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3739, allocations: 63.92 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.3743, allocations: 228 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3745, allocations: 58.48 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3747, allocations: 40.91 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.3747, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3747, allocations: 38.56 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3747, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005763/0.3753, allocations: 133.5 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3753, allocations: 55.39 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3754, allocations: 105.9 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3755, allocations: 25.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3755, allocations: 88.12 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3755, allocations: 3.953 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3756, allocations: 17.72 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3757, allocations: 318.8 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3759, allocations: 31.97 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.376, allocations: 27.97 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3763, allocations: 72.72 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3763, allocations: 0 / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.3767, allocations: 105.5 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3767, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3767, allocations: 3.984 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.457e-05/0.3767, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3769, allocations: 11.98 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3769, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.3769, allocations: 19.98 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3769, allocations: 3.938 kB / 1.329 GB, free: 14.42 MB / 1.029 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 8.919e-05/0.377, allocations: 114.3 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3771, allocations: 3.953 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.3771, allocations: 15.98 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3771, allocations: 336 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3771, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3771, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.3773, allocations: 140.6 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3773, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3774, allocations: 27.97 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3774, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.3774, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3774, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.3774, allocations: 3.984 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3778, allocations: 195.4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.3778, allocations: 3.953 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3778, allocations: 8 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3779, allocations: 11.98 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.378, allocations: 3.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.378, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.977e-05/0.378, allocations: 95.55 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.378, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.3783, allocations: 8 kB / 1.329 GB, free: 13.72 MB / 1.029 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.0007549/0.379, allocations: 0.7241 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.3794, allocations: 67.92 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3794, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3795, allocations: 35.95 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3798, allocations: 16 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.3804, allocations: 155.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.186e-05/0.3804, allocations: 67.3 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.229e-05/0.3805, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3805, allocations: 19.42 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3805, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.4102, allocations: 2.203 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 1.719 kB / 1.333 GB, free: 10.49 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.536544383037835]