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.001716/0.001716, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00213/0.00213, allocations: 220.1 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.984 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.981/2.981, allocations: 476.7 MB / 0.7707 GB, free: 4.301 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",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.002117/0.002117, allocations: 67.97 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3383, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002513/0.3408, allocations: 0.7101 MB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3421, allocations: 0.8433 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.3422, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.455e-05/0.3422, allocations: 7.922 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.3423, allocations: 7.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.806e-05/0.3424, allocations: 11.98 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.3425, allocations: 35.92 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3426, allocations: 11.98 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.3427, allocations: 23.86 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.3428, allocations: 19.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3428, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.3428, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3428, allocations: 4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.3429, allocations: 27.84 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.343, allocations: 43.38 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.343, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.343, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.343, allocations: 0 / 1.285 GB, free: 9.938 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.0006324/0.3437, allocations: 282.9 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.3437, allocations: 16.03 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3438, allocations: 38.73 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.3438, allocations: 0.9375 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3439, allocations: 114.4 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3439, allocations: 8.312 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3439, allocations: 384 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3442, allocations: 70.16 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3442, allocations: 3.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3442, allocations: 4 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3443, allocations: 4 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3445, allocations: 59.92 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3451, allocations: 243.9 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.3453, allocations: 58.47 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3455, allocations: 40.92 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3455, allocations: 4 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3455, allocations: 30.56 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3455, allocations: 0 / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005912/0.3461, allocations: 133.5 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.3462, allocations: 55.34 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3463, allocations: 109.8 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3464, allocations: 29.7 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.3464, allocations: 80.14 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3465, allocations: 19.94 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3465, allocations: 13.7 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3467, allocations: 318.8 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3468, allocations: 27.97 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.347, allocations: 31.95 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3472, allocations: 76.72 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3472, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003129/0.3475, allocations: 97.58 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3475, allocations: 7.938 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3476, allocations: 4 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.3476, allocations: 336 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3477, allocations: 19.98 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3478, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.926e-05/0.3478, allocations: 15.97 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.3478, allocations: 0 / 1.287 GB, free: 7.762 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.000124/0.348, allocations: 117.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.348, allocations: 11.94 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.348, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.348, allocations: 4 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.348, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.348, allocations: 0 / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.3483, allocations: 144.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3483, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.3484, allocations: 11.98 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3484, allocations: 7.938 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3484, allocations: 3.938 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3484, allocations: 4 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3484, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.3488, allocations: 199.3 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.3488, allocations: 7.891 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3489, allocations: 4 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.349, allocations: 11.98 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.349, allocations: 11.98 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.349, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.3491, allocations: 83.28 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3491, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002334/0.3493, allocations: 8 kB / 1.288 GB, free: 7.066 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.0007148/0.35, allocations: 0.728 MB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.3504, allocations: 71.92 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3504, allocations: 0 / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3505, allocations: 35.95 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.3508, allocations: 6.188 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.3513, allocations: 151.2 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3517, allocations: 0.6884 MB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.3517, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.3518, allocations: 15.44 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3518, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3802, allocations: 1.747 MB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.74, allocations: 7.484 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB " [Timeout remaining time 288] (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.61310218507424]