Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001739/0.001739, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001832/0.001832, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.985/2.985, allocations: 0.49 GB / 0.7923 GB, free: 1.395 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_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.002291/0.002291, allocations: 67.89 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.033, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.00176/1.034, allocations: 0.7081 MB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007142/1.035, allocations: 0.8378 MB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/1.035, allocations: 0 / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/1.035, allocations: 7.875 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.16e-05/1.035, allocations: 3.938 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.572e-05/1.035, allocations: 17.7 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/1.035, allocations: 38.64 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/1.035, allocations: 12.48 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/1.036, allocations: 16.28 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/1.036, allocations: 24.61 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/1.036, allocations: 5.344 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/1.036, allocations: 3.156 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/1.036, allocations: 7.844 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/1.036, allocations: 18.02 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.243e-05/1.036, allocations: 42.97 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.036, allocations: 4 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.036, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.849e-06/1.036, allocations: 2.562 kB / 1.323 GB, free: 23.56 MB / 1.061 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.0004722/1.036, allocations: 366.2 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.036, allocations: 13.39 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.985e-05/1.036, allocations: 3.344 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.882e-05/1.036, allocations: 30.75 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/1.036, allocations: 7.844 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.254e-05/1.036, allocations: 170.7 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/1.036, allocations: 4.359 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/1.036, allocations: 6.844 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/1.037, allocations: 67.27 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.037, allocations: 7.875 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/1.037, allocations: 4 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/1.037, allocations: 2.406 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/1.037, allocations: 62.53 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/1.037, allocations: 268.8 kB / 1.324 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/1.037, allocations: 53.88 kB / 1.324 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/1.038, allocations: 43.66 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/1.038, allocations: 3.938 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/1.038, allocations: 33.84 kB / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/1.038, allocations: 0 / 1.324 GB, free: 22.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005136/1.038, allocations: 136.7 kB / 1.324 GB, free: 22.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/1.038, allocations: 51.41 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.715e-05/1.038, allocations: 108.7 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/1.038, allocations: 25.7 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/1.038, allocations: 88.08 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/1.038, allocations: 13.83 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/1.038, allocations: 20.81 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/1.038, allocations: 314.8 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/1.038, allocations: 39.64 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.039, allocations: 32.03 kB / 1.325 GB, free: 21.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/1.039, allocations: 70.81 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.039, allocations: 0 / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/1.039, allocations: 94.05 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.039, allocations: 5.594 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.039, allocations: 0 / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.039, allocations: 0 / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.039, allocations: 22.19 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/1.039, allocations: 320 / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.729e-05/1.039, allocations: 16.12 kB / 1.325 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.039, allocations: 3.938 kB / 1.325 GB, free: 21.73 MB / 1.061 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 4.558e-05/1.039, allocations: 116.4 kB / 1.325 GB, free: 21.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.039, allocations: 3.953 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/1.04, allocations: 14.2 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.04, allocations: 4.328 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.04, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.04, allocations: 0 / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/1.04, allocations: 176.8 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.04, allocations: 0 / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/1.04, allocations: 16.22 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.04, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/1.04, allocations: 2.906 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.04, allocations: 3.188 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.04, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/1.04, allocations: 191.3 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/1.04, allocations: 87.94 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/1.04, allocations: 3.422 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/1.04, allocations: 12.67 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/1.04, allocations: 6.812 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/1.04, allocations: 3.375 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.834e-05/1.04, allocations: 91.33 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.04, allocations: 0 / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002231/1.04, allocations: 5.188 kB / 1.326 GB, free: 21.04 MB / 1.061 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.000543/1.041, allocations: 0.7277 MB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003485/1.041, allocations: 71.95 kB / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.041, allocations: 0 / 1.327 GB, free: 20.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.042, allocations: 40.5 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/1.042, allocations: 10.56 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/1.042, allocations: 156.2 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/1.042, allocations: 0.684 MB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.184e-05/1.043, allocations: 7.188 kB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/1.043, allocations: 18.03 kB / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.043, allocations: 0 / 1.328 GB, free: 19.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/1.06, allocations: 1.674 MB / 1.329 GB, free: 19.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/9.701, allocations: 9.125 kB / 1.329 GB, free: 19.05 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.51389320899034]