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.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.001038/0.001038, allocations: 80.3 kB / 21.47 MB, free: 3.027 MB / 18.57 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.0009522/0.0009522, allocations: 169.8 kB / 24.86 MB, free: 9.27 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.9937/0.9937, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.888/1.888, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.457e-05, allocations: 2.969 kB / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001541/0.001566, allocations: 0.6278 MB / 0.789 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.002434, allocations: 0.8682 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.002468, allocations: 0 / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002492, allocations: 5.609 kB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.002535, allocations: 0 / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.002652, allocations: 11.94 kB / 0.7898 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.713e-05/0.00272, allocations: 25.08 kB / 0.7899 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.002763, allocations: 0 / 0.7899 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.002917, allocations: 23.91 kB / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.002969, allocations: 4.625 kB / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.00298, allocations: 0 / 0.7899 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.255e-05/0.003023, allocations: 9.406 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.003036, allocations: 3.984 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.003053, allocations: 7.938 kB / 0.7899 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003155, allocations: 15.92 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003157, allocations: 0.6875 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003158, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003163, allocations: 4.906 kB / 0.7899 GB, free: 10.59 MB / 0.7448 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.0003476/0.003511, allocations: 360.6 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.003551, allocations: 8.688 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.003681, allocations: 9.781 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.003781, allocations: 108.6 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.003794, allocations: 7.781 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.003801, allocations: 384 / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.003886, allocations: 42.97 kB / 0.7904 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.003892, allocations: 192 / 0.7904 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.003899, allocations: 4.359 kB / 0.7904 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.003905, allocations: 384 / 0.7904 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.115e-05/0.003916, allocations: 3.938 kB / 0.7904 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.948e-05/0.004015, allocations: 97.2 kB / 0.7905 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.00405, allocations: 23.06 kB / 0.7906 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.004066, allocations: 20.48 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.004075, allocations: 1.656 kB / 0.7906 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.004095, allocations: 33.39 kB / 0.7906 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.004095, allocations: 0 / 0.7906 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.43e-05/0.004189, allocations: 41.58 kB / 0.7906 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.00422, allocations: 56.75 kB / 0.7907 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.004289, allocations: 161.9 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.0043, allocations: 29.64 kB / 0.7909 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.004336, allocations: 128.5 kB / 0.791 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.004355, allocations: 4 kB / 0.791 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.004379, allocations: 19.38 kB / 0.791 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.004514, allocations: 0.4883 MB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.004524, allocations: 4 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.004531, allocations: 1.531 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.004557, allocations: 15.92 kB / 0.7915 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.004559, allocations: 0 / 0.7915 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.822e-05/0.004607, allocations: 38.7 kB / 0.7916 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.004617, allocations: 4 kB / 0.7916 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.004621, allocations: 0.5312 kB / 0.7916 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.00463, allocations: 4.531 kB / 0.7916 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.579e-05/0.004676, allocations: 0 / 0.7916 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.004681, allocations: 4.953 kB / 0.7916 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.004695, allocations: 4 kB / 0.7916 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.004701, allocations: 4.656 kB / 0.7916 GB, free: 8.695 MB / 0.7448 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 6.726e-05/0.004769, allocations: 153.1 kB / 0.7917 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.004778, allocations: 7.953 kB / 0.7917 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.004798, allocations: 8.531 kB / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.004799, allocations: 0 / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.004801, allocations: 0 / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.004804, allocations: 0 / 0.7917 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.464e-05/0.004869, allocations: 102.3 kB / 0.7918 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.00487, allocations: 0 / 0.7918 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.004885, allocations: 4 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.004886, allocations: 0.875 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.00489, allocations: 0 / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.00489, allocations: 0.5 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004891, allocations: 1.469 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.022e-05/0.004951, allocations: 76.31 kB / 0.7919 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.004958, allocations: 0 / 0.7919 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.004965, allocations: 0 / 0.7919 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.004976, allocations: 4.812 kB / 0.7919 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.004996, allocations: 3.984 kB / 0.7919 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.004997, allocations: 0.9375 kB / 0.7919 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.005035, allocations: 135.1 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005035, allocations: 1.344 kB / 0.7921 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001063/0.005141, allocations: 4 kB / 0.7921 GB, free: 8.148 MB / 0.7448 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 7.742e-05/0.005219, allocations: 92.22 kB / 0.7922 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.005274, allocations: 19.61 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005275, allocations: 2.312 kB / 0.7922 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.005289, allocations: 11.69 kB / 0.7922 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.618e-05/0.005385, allocations: 11.94 kB / 0.7922 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.0057, allocations: 125.7 kB / 0.7923 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.005729, allocations: 55.36 kB / 0.7924 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.005743, allocations: 0 / 0.7924 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.00578, allocations: 70.19 kB / 0.7924 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.005781, allocations: 0 / 0.7924 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of Templates: time 0.001491/0.007272, allocations: 325 kB / 0.7927 GB, free: 7.402 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.177798697724938]