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.001365/0.001365, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001641/0.001641, allocations: 223 kB / 23.03 MB, free: 4.941 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.265/3.265, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="cs",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.001967/0.001967, allocations: 66.94 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3706, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.001997/0.3726, allocations: 0.6853 MB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3736, allocations: 0.828 MB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.3736, allocations: 0 / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.3736, allocations: 3.938 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.3737, allocations: 3.938 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.581e-05/0.3738, allocations: 15.98 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.3739, allocations: 43.84 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.374, allocations: 8 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.374, allocations: 15.98 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.3741, allocations: 27.84 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3741, allocations: 7.938 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3741, allocations: 11.94 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.3741, allocations: 7.984 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.3742, allocations: 11.94 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.3743, allocations: 40.09 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.954e-06/0.3743, allocations: 7.984 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3743, allocations: 0 / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3743, allocations: 0 / 1.347 GB, free: 14.2 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.0005497/0.3748, allocations: 287.4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3749, allocations: 16.03 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.424e-05/0.3749, allocations: 192 / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.3749, allocations: 34.75 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.375, allocations: 8.891 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3751, allocations: 118.5 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.3751, allocations: 384 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3751, allocations: 384 / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.3754, allocations: 77.91 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3754, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3754, allocations: 0 / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3754, allocations: 7.984 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3757, allocations: 63.92 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.3761, allocations: 236 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.3763, allocations: 58.47 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3764, allocations: 36.92 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3764, allocations: 4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3764, allocations: 30.56 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3764, allocations: 0 / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005068/0.3769, allocations: 125.6 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.377, allocations: 55.41 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.997e-05/0.3771, allocations: 113.8 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3771, allocations: 25.7 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3771, allocations: 80.14 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3772, allocations: 19.84 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.3772, allocations: 13.7 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3774, allocations: 322.8 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3775, allocations: 27.97 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3776, allocations: 39.95 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.3779, allocations: 64.78 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3779, allocations: 0 / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.3782, allocations: 97.62 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3782, allocations: 8 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3782, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3782, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3783, allocations: 19.86 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3783, allocations: 3.938 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.3784, allocations: 15.97 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3784, allocations: 0 / 1.349 GB, free: 12.03 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.007e-05/0.3785, allocations: 121.8 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.3785, allocations: 7.953 kB / 1.349 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.3786, allocations: 4 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3786, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3786, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3786, allocations: 0 / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3787, allocations: 140.6 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3787, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.3788, allocations: 23.97 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3788, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3788, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3788, allocations: 4 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3788, allocations: 0 / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.3792, allocations: 199.7 kB / 1.349 GB, free: 11.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.3792, allocations: 15.97 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3792, allocations: 0 / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3793, allocations: 11.98 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.3794, allocations: 8 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3794, allocations: 0 / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.3794, allocations: 87.27 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 4 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002111/0.3797, allocations: 4 kB / 1.35 GB, free: 11.34 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.000698/0.3804, allocations: 0.7241 MB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.3807, allocations: 75.86 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3807, allocations: 4 kB / 1.35 GB, free: 10.51 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3808, allocations: 31.97 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3811, allocations: 7.984 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.3816, allocations: 151.2 kB / 1.351 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.017e-05/0.3817, allocations: 67.34 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.3817, allocations: 0 / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.3817, allocations: 15.38 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of SimCode: time 3.5e-07/0.3817, allocations: 0 / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.4031, allocations: 1.83 MB / 1.352 GB, free: 8.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.09, allocations: 14.84 kB / 1.352 GB, free: 8.488 MB / 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: 19.026566948974505]