Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 67.89 kB / 1.107 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8368/0.839, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001567/0.8406, allocations: 0.7182 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.8413, allocations: 0.8095 MB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.724e-05/0.8414, allocations: 1.062 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.8414, allocations: 3.938 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.8414, allocations: 5.531 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.015e-05/0.8415, allocations: 15.88 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.8416, allocations: 39.16 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.8417, allocations: 14.25 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.8417, allocations: 20.09 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.8418, allocations: 22.97 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.8418, allocations: 4.375 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-06/0.8418, allocations: 3.25 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.8418, allocations: 14.88 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.8418, allocations: 14.2 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.059e-05/0.8419, allocations: 37.56 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8419, allocations: 0 / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8419, allocations: 4.562 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8419, allocations: 0 / 1.273 GB, free: 6.551 MB / 0.9981 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.0004176/0.8424, allocations: 369.7 kB / 1.273 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8424, allocations: 9.406 kB / 1.273 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.8424, allocations: 32.44 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.924e-05/0.8424, allocations: 7.359 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.8425, allocations: 164.4 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.8425, allocations: 1.875 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8425, allocations: 1.906 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.8428, allocations: 76.72 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8428, allocations: 3.938 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.8428, allocations: 0.8438 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.8428, allocations: 1.391 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002766/0.8431, allocations: 61.97 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.8433, allocations: 278.3 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.8435, allocations: 59.05 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.8437, allocations: 38.86 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.8437, allocations: 9.625 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.8437, allocations: 31.38 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8437, allocations: 0 / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004844/0.8442, allocations: 124.8 kB / 1.274 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.8442, allocations: 56.31 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.675e-05/0.8443, allocations: 114.7 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.8443, allocations: 26.58 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.526e-05/0.8443, allocations: 92.58 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.8443, allocations: 12.77 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.8443, allocations: 12.5 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.88e-05/0.8444, allocations: 318.8 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.8445, allocations: 34.22 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.8446, allocations: 33.06 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.8449, allocations: 69.52 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.8449, allocations: 0 / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002889/0.8452, allocations: 98.23 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8452, allocations: 4.844 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8452, allocations: 1.125 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.8452, allocations: 0 / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.8453, allocations: 25.22 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.8453, allocations: 0 / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/0.8454, allocations: 17.88 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.8454, allocations: 1.859 kB / 1.275 GB, free: 4.719 MB / 0.9981 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.119e-05/0.8454, allocations: 117.4 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.8455, allocations: 2.094 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.847e-05/0.8455, allocations: 4.875 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8455, allocations: 6.109 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.8455, allocations: 0.8438 kB / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8455, allocations: 0 / 1.275 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.8456, allocations: 170.5 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8456, allocations: 8 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.8457, allocations: 16.94 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8457, allocations: 1.094 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8457, allocations: 0 / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8457, allocations: 0.9062 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8457, allocations: 0 / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.846, allocations: 205.9 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.846, allocations: 79.84 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.846, allocations: 1 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.8461, allocations: 10.94 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.8462, allocations: 7.438 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.8462, allocations: 0.8438 kB / 1.276 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.483e-05/0.8462, allocations: 88.92 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8462, allocations: 4 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002076/0.8464, allocations: 10 kB / 1.276 GB, free: 4.035 MB / 0.9981 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.0004917/0.8469, allocations: 0.7329 MB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.8472, allocations: 68.89 kB / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8472, allocations: 0 / 1.277 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8474, allocations: 34.8 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.8476, allocations: 8.156 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.848, allocations: 160.5 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.954e-05/0.848, allocations: 0.6798 MB / 1.278 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.8481, allocations: 0.9062 kB / 1.278 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.8481, allocations: 15.14 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.8481, allocations: 3.938 kB / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.8704, allocations: 1.628 MB / 1.279 GB, free: 18.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.758/7.628, allocations: 11.28 kB / 1.279 GB, free: 18.07 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.927948949999518]