Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001137/0.001137, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008546/0.0008546, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8951/0.8951, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.822e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001423/0.001451, allocations: 0.7014 MB / 1 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.002235, allocations: 0.8238 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.002269, allocations: 0 / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.002299, allocations: 3.938 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.002365, allocations: 7.875 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.48e-05/0.00243, allocations: 11.98 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.002513, allocations: 47.86 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.002625, allocations: 11.97 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/0.002715, allocations: 23.98 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.002755, allocations: 19.91 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.002778, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-06/0.002785, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.002802, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.002826, allocations: 8 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.002926, allocations: 51.78 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.002929, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.373e-06/0.00293, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.002936, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 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.000391/0.003327, allocations: 282.2 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.003367, allocations: 12.75 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.003398, allocations: 30.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.00342, allocations: 12.89 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.691e-05/0.003497, allocations: 113.6 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.003508, allocations: 4.375 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.003515, allocations: 384 / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.003679, allocations: 70.22 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.003686, allocations: 4.188 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.003694, allocations: 384 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.0037, allocations: 8.109 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.003836, allocations: 63.94 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.004123, allocations: 228 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.004238, allocations: 58.55 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.871e-05/0.004316, allocations: 40.91 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.004328, allocations: 3.938 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.004347, allocations: 34.5 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004348, allocations: 0 / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003012/0.004649, allocations: 137.5 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.004679, allocations: 59.41 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.004738, allocations: 105.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.004747, allocations: 25.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.004784, allocations: 88.14 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.0048, allocations: 7.891 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.004827, allocations: 13.72 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.004897, allocations: 322.8 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-05/0.004968, allocations: 31.97 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.225e-05/0.00503, allocations: 31.95 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.005157, allocations: 64.8 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005159, allocations: 4 kB / 1.003 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001581/0.005317, allocations: 109.8 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.00533, allocations: 4 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.005335, allocations: 3.984 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.005347, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.005423, allocations: 15.98 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.005428, allocations: 4 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.429e-05/0.005462, allocations: 11.98 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.005468, allocations: 0 / 1.003 GB, free: 9.543 MB / 0.9636 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 5.981e-05/0.005527, allocations: 117.8 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.00554, allocations: 3.938 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.717e-05/0.005637, allocations: 8 kB / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00564, allocations: 0 / 1.003 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.005644, allocations: 4 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005646, allocations: 0 / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005751, allocations: 136.6 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005752, allocations: 4 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.005796, allocations: 19.91 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.005799, allocations: 4 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.005805, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.005807, allocations: 3.938 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005807, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.005992, allocations: 191.5 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.006, allocations: 11.88 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.00601, allocations: 0 / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.873e-05/0.006058, allocations: 15.97 kB / 1.004 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.006095, allocations: 4 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.006098, allocations: 0 / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.046e-05/0.006128, allocations: 95.56 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006128, allocations: 0 / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001404/0.006269, allocations: 11.95 kB / 1.004 GB, free: 8.848 MB / 0.9636 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.0003728/0.006641, allocations: 0.7319 MB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.006815, allocations: 63.92 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006816, allocations: 0 / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.006884, allocations: 39.91 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.007112, allocations: 15.92 kB / 1.005 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.007454, allocations: 151.2 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.007496, allocations: 67.28 kB / 1.005 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.007522, allocations: 7.984 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.007559, allocations: 16.5 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.007559, allocations: 0 / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01515/0.02271, allocations: 2.32 MB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/6.423, allocations: 3.984 kB / 1.007 GB, free: 5.492 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.477253538556397]