Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001742/0.001742, allocations: 97.92 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.002449/0.002449, allocations: 221.1 kB / 23.03 MB, free: 4.945 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.25/3.25, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_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.002158/0.002158, allocations: 66.62 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3738, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002342/0.3761, allocations: 0.6828 MB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3773, allocations: 0.8319 MB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.3774, allocations: 0 / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.3774, allocations: 3.938 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.3775, allocations: 7.875 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.361e-05/0.3776, allocations: 15.98 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3777, allocations: 39.91 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.3778, allocations: 11.98 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.3779, allocations: 19.92 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.3779, allocations: 19.92 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.378, allocations: 7.938 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.378, allocations: 8 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.378, allocations: 11.92 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.378, allocations: 11.94 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3781, allocations: 40.09 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3781, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3782, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3782, allocations: 0 / 1.347 GB, free: 14.18 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.0005824/0.3787, allocations: 290.2 kB / 1.347 GB, free: 13.87 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3788, allocations: 12.03 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.548e-05/0.3788, allocations: 8.188 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.3788, allocations: 30.75 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.3789, allocations: 8.891 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.379, allocations: 122.5 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.379, allocations: 384 / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.379, allocations: 384 / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.3793, allocations: 81.89 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3793, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.3793, allocations: 0 / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3793, allocations: 4 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3796, allocations: 63.92 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.38, allocations: 232 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.3802, allocations: 58.47 kB / 1.348 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3803, allocations: 44.91 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3804, allocations: 0 / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3804, allocations: 34.56 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3804, allocations: 3.938 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.3809, allocations: 129.6 kB / 1.348 GB, free: 12.94 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.381, allocations: 55.41 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3811, allocations: 105.8 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3811, allocations: 25.7 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3811, allocations: 88.14 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.3812, allocations: 15.83 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.3812, allocations: 13.72 kB / 1.348 GB, free: 12.61 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3814, allocations: 318.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3815, allocations: 35.95 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.3816, allocations: 35.91 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3819, allocations: 68.78 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3819, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003309/0.3823, allocations: 97.62 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3823, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3823, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3823, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.3824, allocations: 19.92 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3824, allocations: 3.984 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.3825, allocations: 11.98 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3825, allocations: 0 / 1.349 GB, free: 12 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 9.372e-05/0.3826, allocations: 117.8 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.3826, allocations: 7.953 kB / 1.349 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.3827, allocations: 8 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3827, allocations: 4 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3827, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3827, allocations: 0 / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3829, allocations: 140.6 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3829, allocations: 4 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.383, allocations: 15.98 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.383, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.383, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.383, allocations: 4 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.383, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.3833, allocations: 199.3 kB / 1.349 GB, free: 11.44 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.3834, allocations: 11.95 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.3834, allocations: 4.312 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3835, allocations: 11.98 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3835, allocations: 11.98 kB / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3835, allocations: 0 / 1.349 GB, free: 11.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.3836, allocations: 87.28 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3836, allocations: 0 / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002218/0.3838, allocations: 8 kB / 1.35 GB, free: 11.3 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.0008312/0.3846, allocations: 0.728 MB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.385, allocations: 71.86 kB / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.385, allocations: 0 / 1.35 GB, free: 10.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3851, allocations: 35.95 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3855, allocations: 11.88 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/0.3861, allocations: 155.2 kB / 1.351 GB, free: 10.24 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.008e-05/0.3862, allocations: 63.34 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.3862, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.3863, allocations: 15.44 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.3863, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.4113, allocations: 1.834 MB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 15.78 kB / 1.352 GB, free: 8.453 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.95507823396474]