Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 192.4 kB / 16.25 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7227, allocations: 140.4 MB / 0.9493 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.002026/0.7247, allocations: 0.7596 MB / 0.95 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006972/0.7255, allocations: 0.8096 MB / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.7255, allocations: 0 / 0.9508 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.7255, allocations: 3.984 kB / 0.9508 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.7256, allocations: 5.625 kB / 0.9508 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.796e-05/0.7257, allocations: 9.062 kB / 0.9508 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.7258, allocations: 41.38 kB / 0.9509 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.7259, allocations: 9 kB / 0.9509 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.446e-05/0.7259, allocations: 25.11 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.726, allocations: 21.33 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.726, allocations: 4.188 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.726, allocations: 4.312 kB / 0.9509 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.726, allocations: 15.91 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.726, allocations: 16.33 kB / 0.9509 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.199e-05/0.7261, allocations: 35.12 kB / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7261, allocations: 0 / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7261, allocations: 0 / 0.951 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.7261, allocations: 0 / 0.951 GB, free: 7.82 MB / 0.7169 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.0003865/0.7265, allocations: 374.1 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.7266, allocations: 9.625 kB / 0.9513 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.7266, allocations: 30.75 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.7266, allocations: 7.672 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.7267, allocations: 167 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.7267, allocations: 5.75 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.7267, allocations: 1.75 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.7269, allocations: 78.72 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.727, allocations: 5.312 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.727, allocations: 0 / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.727, allocations: 0 / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.7272, allocations: 63.67 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.7275, allocations: 272 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.7277, allocations: 60.31 kB / 0.952 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.7278, allocations: 42.2 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.7279, allocations: 0 / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.7279, allocations: 39.91 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.7279, allocations: 0 / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004908/0.7284, allocations: 130.4 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.7284, allocations: 51.41 kB / 0.9523 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.7285, allocations: 115.2 kB / 0.9524 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.7285, allocations: 27.3 kB / 0.9524 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.7285, allocations: 85.8 kB / 0.9525 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.7285, allocations: 12.7 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.7286, allocations: 19.84 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.7286, allocations: 317 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.7288, allocations: 36.73 kB / 0.9528 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.7289, allocations: 29.16 kB / 0.9529 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.7291, allocations: 71.5 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7291, allocations: 0 / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002818/0.7294, allocations: 101.8 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7294, allocations: 5.344 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7295, allocations: 48 / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.7295, allocations: 5.516 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7296, allocations: 17.11 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.7296, allocations: 1.219 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.7297, allocations: 18.62 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.7297, allocations: 5.125 kB / 0.9531 GB, free: 5.785 MB / 0.7169 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.416e-05/0.7297, allocations: 111.3 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.7298, allocations: 1.594 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.7298, allocations: 10 kB / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7298, allocations: 0 / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.7298, allocations: 1.5 kB / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7298, allocations: 3.938 kB / 0.9532 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.7299, allocations: 172.6 kB / 0.9534 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7299, allocations: 1.438 kB / 0.9534 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.73, allocations: 16.92 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.73, allocations: 1.469 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7301, allocations: 0 / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.7301, allocations: 1.406 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7301, allocations: 0 / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.7304, allocations: 207.1 kB / 0.9536 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.7304, allocations: 79.36 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.7304, allocations: 0 / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.7305, allocations: 11.11 kB / 0.9537 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.7306, allocations: 5.484 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.7306, allocations: 1.344 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.7306, allocations: 86.25 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.7306, allocations: 0 / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.7309, allocations: 9.469 kB / 0.9538 GB, free: 5.07 MB / 0.7169 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.0004795/0.7313, allocations: 0.7293 MB / 0.9545 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003027/0.7316, allocations: 74.52 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7317, allocations: 0 / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.7318, allocations: 41.14 kB / 0.9546 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7321, allocations: 10.91 kB / 0.9546 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.7325, allocations: 163.7 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.367e-05/0.7326, allocations: 0.6841 MB / 0.9554 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.222e-05/0.7326, allocations: 0.9375 kB / 0.9554 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.7327, allocations: 13.75 kB / 0.9554 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.7327, allocations: 4 kB / 0.9554 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.7431, allocations: 1.412 MB / 0.9568 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.7433, allocations: 217 kB / 0.957 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.509, allocations: 1.438 kB / 0.957 GB, free: 2.453 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches