Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001332/0.001332, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001462/0.001462, allocations: 223.2 kB / 22.26 MB, free: 5.215 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.313/3.313, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_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.002086/0.002086, allocations: 67.8 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3441, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002095/0.3462, allocations: 0.7178 MB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3474, allocations: 0.8281 MB / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.3474, allocations: 0 / 1.354 GB, free: 6.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.3475, allocations: 3.938 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.311e-05/0.3475, allocations: 7.938 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.957e-05/0.3476, allocations: 15.98 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.263e-05/0.3477, allocations: 43.8 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3478, allocations: 11.98 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.723e-05/0.3479, allocations: 23.92 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.707e-05/0.3479, allocations: 15.92 kB / 1.355 GB, free: 6.738 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.348, allocations: 4 kB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.348, allocations: 4 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.348, allocations: 11.97 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.348, allocations: 23.88 kB / 1.355 GB, free: 6.695 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3482, allocations: 40.09 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3482, allocations: 4 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3482, allocations: 0 / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3482, allocations: 0 / 1.355 GB, free: 6.652 MB / 1.045 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.0006216/0.3488, allocations: 296.2 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3488, allocations: 8.031 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/0.3489, allocations: 34.75 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.3489, allocations: 0.9375 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3491, allocations: 118.4 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3491, allocations: 4.375 kB / 1.355 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3491, allocations: 4.375 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.3494, allocations: 70.22 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3494, allocations: 3.938 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3494, allocations: 3.984 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3494, allocations: 4 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.3497, allocations: 59.94 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.3502, allocations: 247.9 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.3504, allocations: 54.53 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.3506, allocations: 40.92 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3506, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3506, allocations: 30.56 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 3.306e-06/0.3506, allocations: 3.984 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005873/0.3512, allocations: 133.5 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3513, allocations: 51.41 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3514, allocations: 113.8 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3514, allocations: 29.7 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3514, allocations: 84.08 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3515, allocations: 15.91 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.3515, allocations: 13.7 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3517, allocations: 322.8 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3518, allocations: 23.97 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3519, allocations: 35.95 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3522, allocations: 72.72 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3522, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003138/0.3525, allocations: 101.6 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3525, allocations: 4 kB / 1.357 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3525, allocations: 4 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3525, allocations: 0 / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3527, allocations: 11.98 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3527, allocations: 4 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.3527, allocations: 15.97 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3527, allocations: 0 / 1.357 GB, free: 4.477 MB / 1.045 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.358e-05/0.3528, allocations: 117.7 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3529, allocations: 7.953 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.3529, allocations: 8 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3529, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3529, allocations: 3.938 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.3529, allocations: 4 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3531, allocations: 148.6 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3531, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.3532, allocations: 15.98 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3532, allocations: 3.938 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3532, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3532, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3532, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.3535, allocations: 195.4 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.3536, allocations: 11.94 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.3536, allocations: 4 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3537, allocations: 11.98 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3537, allocations: 7.984 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3537, allocations: 4 kB / 1.357 GB, free: 3.871 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3538, allocations: 83.28 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3538, allocations: 3.938 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002239/0.354, allocations: 12 kB / 1.357 GB, free: 3.773 MB / 1.045 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.0007341/0.3547, allocations: 0.7244 MB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.3551, allocations: 71.95 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.3551, allocations: 0 / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3552, allocations: 43.89 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3555, allocations: 5.719 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.356, allocations: 151.2 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3563, allocations: 0.6807 MB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.3563, allocations: 0 / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.3564, allocations: 19.44 kB / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3564, allocations: 0 / 1.359 GB, free: 1.992 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.3836, allocations: 1.727 MB / 1.36 GB, free: 408 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 14.39 kB / 1.361 GB, free: 400 kB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.621570301009342]