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.001309/0.001309, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.00152/0.00152, allocations: 220.4 kB / 23.03 MB, free: 4.953 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.905/2.905, allocations: 476.8 MB / 0.7715 GB, free: 3.859 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.002089/0.002089, allocations: 62.52 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3427, allocations: 169.9 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002383/0.3451, allocations: 0.7041 MB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3464, allocations: 0.8201 MB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.3464, allocations: 3.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3465, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.3465, allocations: 15.88 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.044e-05/0.3466, allocations: 7.984 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3467, allocations: 47.84 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3468, allocations: 11.22 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.464e-05/0.3469, allocations: 27.92 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.347, allocations: 15.92 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.347, allocations: 4 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.347, allocations: 4 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.347, allocations: 7.984 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.3471, allocations: 15.94 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3472, allocations: 39.86 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3472, allocations: 0 / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.534e-06/0.3472, allocations: 3.938 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3472, allocations: 0 / 1.286 GB, free: 8.832 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.0006039/0.3478, allocations: 294.2 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3479, allocations: 11.97 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.342e-05/0.3479, allocations: 192 / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.348, allocations: 38.75 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.348, allocations: 4.891 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3481, allocations: 110.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3481, allocations: 4.359 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.3481, allocations: 8.312 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3484, allocations: 77.97 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3484, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3484, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3484, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3487, allocations: 67.86 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.3491, allocations: 232 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3494, allocations: 54.53 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3495, allocations: 44.91 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3495, allocations: 4 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3496, allocations: 34.55 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005716/0.3501, allocations: 133.5 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3502, allocations: 51.41 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3503, allocations: 109.8 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3503, allocations: 25.7 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.3504, allocations: 84.14 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3504, allocations: 15.88 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.3504, allocations: 13.72 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3506, allocations: 318.8 kB / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3507, allocations: 35.95 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3509, allocations: 31.97 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.3511, allocations: 68.72 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3511, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003238/0.3515, allocations: 101.6 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3515, allocations: 8 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.3515, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3515, allocations: 3.938 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.3516, allocations: 15.97 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3516, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.3517, allocations: 19.98 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3517, allocations: 0 / 1.288 GB, free: 6.652 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 8.639e-05/0.3518, allocations: 113.8 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3518, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.3519, allocations: 8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3519, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3519, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3519, allocations: 3.938 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.3521, allocations: 140.6 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3521, allocations: 0 / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.3522, allocations: 23.98 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3522, allocations: 0 / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3522, allocations: 3.938 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3522, allocations: 0 / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3522, allocations: 320 / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.3526, allocations: 195.4 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.3526, allocations: 384 / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3526, allocations: 8 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3527, allocations: 15.98 kB / 1.288 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3527, allocations: 7.984 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3527, allocations: 0 / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.3528, allocations: 87.27 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3528, allocations: 0 / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002237/0.353, allocations: 15.89 kB / 1.288 GB, free: 5.965 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.0007509/0.3538, allocations: 0.728 MB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.3541, allocations: 67.92 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3541, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.3543, allocations: 39.89 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3546, allocations: 12 kB / 1.289 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.3552, allocations: 151.2 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.164e-05/0.3553, allocations: 71.22 kB / 1.289 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.3553, allocations: 0 / 1.289 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.3553, allocations: 19.44 kB / 1.289 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3553, allocations: 0 / 1.289 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.3785, allocations: 1.837 MB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.07, allocations: 6.031 kB / 1.291 GB, free: 3.121 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: 19.036225992022082]