Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001696/0.001696, allocations: 112 kB / 17.6 MB, free: 4.699 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.002071/0.002071, allocations: 186 kB / 20.78 MB, free: 1.539 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.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.309 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.727/2.727, allocations: 476.7 MB / 0.7629 GB, free: 15.14 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.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.91 kB / 1.107 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9399/0.9418, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001633/0.9435, allocations: 0.6217 MB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.9442, allocations: 0.8102 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.9443, allocations: 0 / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.9443, allocations: 4.75 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.9443, allocations: 1.516 kB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.9444, allocations: 11.25 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.9445, allocations: 16.11 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.9445, allocations: 6.734 kB / 1.273 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.9446, allocations: 9.312 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.9447, allocations: 16.91 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.9447, allocations: 0.9062 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.9447, allocations: 1.781 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.9447, allocations: 1.125 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.9447, allocations: 10.7 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.046e-05/0.9448, allocations: 16.48 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.9448, allocations: 0 / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9448, allocations: 8.531 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9448, allocations: 0 / 1.273 GB, free: 6.648 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003078/0.9451, allocations: 329.3 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.9451, allocations: 9.812 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.283e-05/0.9452, allocations: 31.66 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.9452, allocations: 5.922 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.9453, allocations: 167.6 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.9453, allocations: 384 / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.9453, allocations: 6.016 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.9454, allocations: 34.59 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.9454, allocations: 3.938 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.9454, allocations: 4.719 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.9454, allocations: 0 / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.745e-05/0.9455, allocations: 12.36 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.9456, allocations: 152.9 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.088e-05/0.9456, allocations: 25.91 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.9457, allocations: 15.12 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.9457, allocations: 0 / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.031e-05/0.9457, allocations: 36.67 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.9457, allocations: 0 / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001842/0.9459, allocations: 55.02 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.9459, allocations: 52.95 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.946, allocations: 106.6 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.946, allocations: 25.7 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.946, allocations: 89.81 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.946, allocations: 8.516 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.946, allocations: 13.33 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.9461, allocations: 312.1 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.9461, allocations: 14.77 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.9461, allocations: 6.297 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.9462, allocations: 17.41 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9462, allocations: 4 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.778e-05/0.9463, allocations: 47.78 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.9463, allocations: 9.484 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.9463, allocations: 0 / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.9463, allocations: 4.719 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.9464, allocations: 3.812 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.9464, allocations: 5.328 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.9464, allocations: 2.469 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.9464, allocations: 9.234 kB / 1.275 GB, free: 4.992 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 (1): * Single equations (assignments): 1 * 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 3.885e-05/0.9465, allocations: 112 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.9465, allocations: 9.422 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.9465, allocations: 9.094 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9465, allocations: 0.7188 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9465, allocations: 0 / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9465, allocations: 1.359 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.363e-05/0.9466, allocations: 152.8 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9466, allocations: 0.8125 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.9466, allocations: 8.062 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.9466, allocations: 4.453 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.9466, allocations: 0.75 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9466, allocations: 1.234 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9466, allocations: 0 / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.9467, allocations: 67.66 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.9467, allocations: 79.75 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.9468, allocations: 8.812 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.9468, allocations: 3.016 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.9468, allocations: 5.688 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.9468, allocations: 0.9375 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.386e-05/0.9468, allocations: 88.69 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9468, allocations: 0 / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001761/0.947, allocations: 2.406 kB / 1.275 GB, free: 4.406 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 (1): * Single equations (assignments): 1 * 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.0002849/0.9473, allocations: 0.6083 MB / 1.276 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.9474, allocations: 17.58 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9474, allocations: 0.6562 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.9475, allocations: 11.42 kB / 1.276 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.9476, allocations: 6.266 kB / 1.276 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.9479, allocations: 155.5 kB / 1.276 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.948, allocations: 0.6778 MB / 1.277 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.9481, allocations: 1.547 kB / 1.277 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.9481, allocations: 17.06 kB / 1.277 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9481, allocations: 0 / 1.277 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.9707, allocations: 1.1 MB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.864, allocations: 4.234 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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: 14.831927296007052]