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.001437/0.001437, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001618/0.001618, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.793 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 3.226/3.226, allocations: 0.4892 GB / 0.7943 GB, free: 35.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_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.002227/0.002227, allocations: 68.92 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3911, allocations: 176.1 MB / 1.325 GB, free: 2.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002365/0.3935, allocations: 0.6995 MB / 1.326 GB, free: 1.633 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3947, allocations: 0.832 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.773e-05/0.3948, allocations: 0 / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.3948, allocations: 0 / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.3949, allocations: 15.86 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.523e-05/0.3949, allocations: 11.98 kB / 1.327 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.3951, allocations: 47.84 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3952, allocations: 4 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.806e-05/0.3953, allocations: 19.98 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.3953, allocations: 19.86 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3954, allocations: 8 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.3954, allocations: 4 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.3954, allocations: 7.984 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.3954, allocations: 11.94 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3955, allocations: 48.06 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3955, allocations: 0 / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3955, allocations: 3.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3956, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 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.0006448/0.3962, allocations: 290.2 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3962, allocations: 16.03 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.3963, allocations: 30.75 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.3963, allocations: 8.875 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3965, allocations: 114.4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3965, allocations: 8.359 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.3965, allocations: 384 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.3968, allocations: 66.22 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3968, allocations: 3.938 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3968, allocations: 4 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3968, allocations: 7.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.3971, allocations: 67.86 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.3975, allocations: 228 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.3978, allocations: 54.53 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3979, allocations: 44.92 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3979, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.398, allocations: 34.55 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.398, allocations: 3.938 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005814/0.3985, allocations: 125.5 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3986, allocations: 59.41 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3987, allocations: 105.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3987, allocations: 25.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.3988, allocations: 88.14 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.3988, allocations: 7.938 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3988, allocations: 17.72 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.399, allocations: 310.8 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3991, allocations: 31.95 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3993, allocations: 35.97 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3996, allocations: 76.66 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003295/0.3999, allocations: 101.9 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3999, allocations: 4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3999, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3999, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4001, allocations: 23.97 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4001, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.899e-05/0.4002, allocations: 11.98 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.4002, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 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.731e-05/0.4003, allocations: 114.3 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.4003, allocations: 15.88 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.4003, allocations: 8 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4003, allocations: 3.938 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4003, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4003, allocations: 4 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.4005, allocations: 148.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4005, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.4006, allocations: 11.98 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4006, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4006, allocations: 8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4006, allocations: 4 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4006, allocations: 0 / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.401, allocations: 191.4 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.401, allocations: 15.89 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4011, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.4012, allocations: 7.984 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.4012, allocations: 11.98 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.4012, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.4013, allocations: 91.22 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4013, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000221/0.4015, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 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.0008069/0.4023, allocations: 0.7241 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.4027, allocations: 67.92 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4027, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4028, allocations: 39.89 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4032, allocations: 9.719 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.4037, allocations: 159.2 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.4038, allocations: 67.3 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.4038, allocations: 0 / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.4039, allocations: 11.44 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of SimCode: time 5e-07/0.4039, allocations: 4 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4364, allocations: 2.187 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.97, allocations: 8.125 kB / 1.333 GB, free: 10.5 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.83600725326687]