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.009001/0.009001, allocations: 102 kB / 15.73 MB, free: 6.039 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.001682/0.001682, allocations: 194 kB / 16.67 MB, free: 5.961 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 67.89 kB / 0.9505 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8307, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.001983/0.8328, allocations: 0.6992 MB / 1.088 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.8336, allocations: 0.8023 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.8337, allocations: 0 / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.81e-05/0.8337, allocations: 4.453 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.8338, allocations: 6.109 kB / 1.089 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.23e-05/0.8338, allocations: 12.64 kB / 1.089 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.8339, allocations: 39.83 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.834, allocations: 15.39 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.709e-05/0.8341, allocations: 16.27 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.8342, allocations: 22.75 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.8342, allocations: 4.125 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.8342, allocations: 3.812 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.8342, allocations: 6.906 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.8343, allocations: 21.06 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.8344, allocations: 39.97 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8344, allocations: 4.969 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8344, allocations: 0.5156 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.8344, allocations: 4 kB / 1.089 GB, free: 4.113 MB / 0.8575 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.0004496/0.8349, allocations: 371.2 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.8349, allocations: 10.16 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.8349, allocations: 32.52 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.835, allocations: 7.281 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.558e-05/0.835, allocations: 168 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.8351, allocations: 1.375 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.8351, allocations: 3.328 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.8353, allocations: 75.41 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.8353, allocations: 4.875 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.8354, allocations: 0 / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8354, allocations: 1.859 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.8357, allocations: 69.42 kB / 1.09 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.836, allocations: 274.9 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.8362, allocations: 55.05 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.8364, allocations: 41.17 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.8364, allocations: 4 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.8364, allocations: 40.2 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8365, allocations: 0 / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006479/0.8371, allocations: 124 kB / 1.09 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.8372, allocations: 57.06 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.8373, allocations: 106.9 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.8373, allocations: 25.7 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.8373, allocations: 88.09 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.8374, allocations: 17.55 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.8374, allocations: 17.48 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.8375, allocations: 313.7 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.8377, allocations: 34.77 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.8378, allocations: 35.23 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.8382, allocations: 70.53 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8382, allocations: 0 / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003866/0.8386, allocations: 102.1 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.8386, allocations: 5.875 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8386, allocations: 0.6094 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8386, allocations: 1.156 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.8388, allocations: 14.48 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.8388, allocations: 1.25 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.8389, allocations: 15.38 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.8389, allocations: 1.094 kB / 1.091 GB, free: 2.285 MB / 0.8575 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 7.363e-05/0.839, allocations: 120.9 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.839, allocations: 9.969 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.8391, allocations: 10.19 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.8391, allocations: 0 / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8391, allocations: 1.062 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8391, allocations: 0.7969 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.8392, allocations: 166.4 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8393, allocations: 5.094 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.8394, allocations: 19.56 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.8394, allocations: 3.938 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8394, allocations: 1.094 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.8394, allocations: 0.5156 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8394, allocations: 0 / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.8398, allocations: 194 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.8398, allocations: 86.86 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.8398, allocations: 1.938 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8399, allocations: 15.39 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.84, allocations: 8.109 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.84, allocations: 1.156 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.84, allocations: 87.25 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8401, allocations: 4 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000215/0.8403, allocations: 6.625 kB / 1.092 GB, free: 1.598 MB / 0.8575 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.0007315/0.841, allocations: 0.7276 MB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.8414, allocations: 70.95 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8414, allocations: 0.6875 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.8416, allocations: 34.73 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.8419, allocations: 11.7 kB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.8424, allocations: 156.4 kB / 1.093 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.8426, allocations: 0.6797 MB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.22e-05/0.8427, allocations: 2.062 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.8427, allocations: 14.41 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.8427, allocations: 0 / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.8598, allocations: 1.651 MB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.734, allocations: 21.59 kB / 1.095 GB, free: 15.64 MB / 0.8731 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