Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001368, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.817/2.817, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.84 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2636, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002039/0.2657, allocations: 0.7811 MB / 1.054 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2667, allocations: 0.8662 MB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.2668, allocations: 0 / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.2668, allocations: 7.875 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.2669, allocations: 7.875 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.2671, allocations: 47.94 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2672, allocations: 83.83 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2673, allocations: 27.92 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.2674, allocations: 39.84 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.2675, allocations: 47.81 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.2675, allocations: 12 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.2676, allocations: 8 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.2676, allocations: 23.91 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.2677, allocations: 31.8 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2678, allocations: 83.72 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2678, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2678, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2678, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006265/0.2685, allocations: 403.4 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2685, allocations: 8.625 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.2686, allocations: 34.75 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.2686, allocations: 8.844 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.2688, allocations: 188.1 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.2688, allocations: 4.375 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2688, allocations: 4.375 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.2691, allocations: 105.5 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2692, allocations: 0 / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2692, allocations: 8 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2692, allocations: 4 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003747/0.2696, allocations: 95.84 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.2701, allocations: 348.6 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2708, allocations: 118.5 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.271, allocations: 56.81 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.271, allocations: 11.98 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.2711, allocations: 34.56 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2711, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006608/0.2717, allocations: 181.4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2718, allocations: 59.41 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.2719, allocations: 129.7 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2719, allocations: 25.7 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.272, allocations: 103.9 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.272, allocations: 11.8 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.272, allocations: 21.72 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.2721, allocations: 318.8 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2723, allocations: 47.95 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.2725, allocations: 43.95 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.2729, allocations: 100.8 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2729, allocations: 0 / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004195/0.2733, allocations: 137.5 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2733, allocations: 9.406 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2733, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2734, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.2735, allocations: 27.91 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.2735, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2737, allocations: 23.91 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.2737, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.215e-05/0.2738, allocations: 113.8 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.2738, allocations: 11.91 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.2738, allocations: 12.38 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2739, allocations: 3.984 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2739, allocations: 3.938 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2739, allocations: 3.938 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.2741, allocations: 201.6 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2741, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.2743, allocations: 23.97 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2743, allocations: 0 / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2743, allocations: 3.984 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2743, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2743, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004712/0.2748, allocations: 247.2 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.2748, allocations: 88.95 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.2748, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.275, allocations: 15.98 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.2751, allocations: 23.91 kB / 1.058 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.2751, allocations: 4 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.2751, allocations: 99.27 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2752, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002337/0.2754, allocations: 12 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000733/0.2761, allocations: 0.7676 MB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.2766, allocations: 112.1 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2766, allocations: 4 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.2768, allocations: 63.88 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2771, allocations: 11.94 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.2792, allocations: 1.524 MB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2794, allocations: 0.6924 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.069e-05/0.2795, allocations: 8 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.2796, allocations: 31.42 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2796, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2973, allocations: 2.663 MB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.781, allocations: 13.05 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches