Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001588/0.001588, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002248/0.002248, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",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.002059/0.002059, allocations: 65.12 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3935, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002279/0.3958, allocations: 0.7159 MB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3969, allocations: 0.8316 MB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.3969, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3969, allocations: 7.938 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.205e-05/0.397, allocations: 11.88 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.502e-05/0.3971, allocations: 11.98 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.223e-05/0.3972, allocations: 43.84 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3973, allocations: 8 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.3974, allocations: 23.92 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.3974, allocations: 19.91 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3974, allocations: 4 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.3974, allocations: 4 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.3975, allocations: 7.984 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.3975, allocations: 19.88 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3976, allocations: 39.39 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3976, allocations: 11.92 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3976, allocations: 0 / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3976, allocations: 0 / 1.286 GB, free: 9.93 MB / 0.9825 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.0005471/0.3982, allocations: 283 kB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3982, allocations: 12.03 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.377e-05/0.3982, allocations: 192 / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3983, allocations: 30.75 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.3983, allocations: 12.89 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3984, allocations: 122.4 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3984, allocations: 384 / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3984, allocations: 4.375 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3987, allocations: 69.97 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3987, allocations: 0 / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3987, allocations: 4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3987, allocations: 0 / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.399, allocations: 67.92 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.3994, allocations: 243.9 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3996, allocations: 50.55 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3998, allocations: 48.84 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.3998, allocations: 3.984 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3998, allocations: 30.56 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3998, allocations: 0 / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005711/0.4004, allocations: 137.5 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.4005, allocations: 59.39 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4006, allocations: 105.8 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4006, allocations: 25.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.4007, allocations: 88.14 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4007, allocations: 3.953 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.4007, allocations: 17.72 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4009, allocations: 322.8 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.401, allocations: 27.97 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.4012, allocations: 35.95 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.4015, allocations: 64.8 kB / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4015, allocations: 0 / 1.288 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003352/0.4018, allocations: 101.5 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4018, allocations: 11.98 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4018, allocations: 4 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4018, allocations: 0 / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.402, allocations: 15.98 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.402, allocations: 4 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.402, allocations: 7.984 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4021, allocations: 4 kB / 1.288 GB, free: 7.754 MB / 0.9825 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 0.0001027/0.4022, allocations: 117.7 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.4022, allocations: 4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.4022, allocations: 11.98 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4022, allocations: 4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4022, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4022, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.4024, allocations: 140.6 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4024, allocations: 0 / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.4025, allocations: 23.97 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4025, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.4025, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4025, allocations: 0 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4025, allocations: 7.875 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4029, allocations: 195.4 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.4029, allocations: 3.938 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.4029, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.403, allocations: 19.97 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4031, allocations: 4 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4031, allocations: 4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.44e-05/0.4031, allocations: 87.27 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4031, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002175/0.4034, allocations: 11.95 kB / 1.288 GB, free: 7.059 MB / 0.9825 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.0007414/0.4041, allocations: 0.7284 MB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.4045, allocations: 67.91 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4045, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.4046, allocations: 35.97 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.4049, allocations: 8 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.4055, allocations: 155.2 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.4058, allocations: 0.6807 MB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.4058, allocations: 7.984 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.4059, allocations: 15.44 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.4059, allocations: 0 / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4308, allocations: 1.775 MB / 1.292 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 11.45 kB / 1.292 GB, free: 3.645 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.793745876988396]