Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001385/0.001385, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001606/0.001606, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9504/0.9504, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.869/1.869, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.382e-05, allocations: 2.859 kB / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002253/0.002287, allocations: 0.7356 MB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.004063, allocations: 1.183 MB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.004121, allocations: 0 / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.004152, allocations: 0.9688 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.004256, allocations: 11.88 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.004777, allocations: 132.3 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.004989, allocations: 126.3 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.005082, allocations: 8 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.005212, allocations: 67.88 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005324, allocations: 35.89 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.005352, allocations: 12 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.005431, allocations: 24 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.00546, allocations: 17.59 kB / 0.7906 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.005511, allocations: 27.98 kB / 0.7907 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005691, allocations: 99.7 kB / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005694, allocations: 0 / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.005695, allocations: 0 / 0.7908 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.0057, allocations: 0.5938 kB / 0.7908 GB, free: 9.715 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005418/0.006242, allocations: 426.7 kB / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.006286, allocations: 8.031 kB / 0.7912 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.006338, allocations: 9.469 kB / 0.7912 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.006453, allocations: 112.6 kB / 0.7913 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.006476, allocations: 8.969 kB / 0.7913 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.006493, allocations: 5.156 kB / 0.7913 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.059e-05/0.006584, allocations: 54.88 kB / 0.7914 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006594, allocations: 5.344 kB / 0.7914 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.006602, allocations: 384 / 0.7914 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.006609, allocations: 384 / 0.7914 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.006635, allocations: 13.3 kB / 0.7914 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.007, allocations: 288.4 kB / 0.7917 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.007065, allocations: 34.98 kB / 0.7917 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.64e-05/0.007081, allocations: 9.531 kB / 0.7917 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.00709, allocations: 4.062 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.007197, allocations: 65.03 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.007199, allocations: 0 / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001929/0.007392, allocations: 69.56 kB / 0.7918 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.007431, allocations: 56.81 kB / 0.7919 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.007554, allocations: 185.8 kB / 0.7921 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.007575, allocations: 25.7 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.007655, allocations: 146.8 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.007673, allocations: 8.484 kB / 0.7922 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.007743, allocations: 41.28 kB / 0.7923 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.0079, allocations: 0.4884 MB / 0.7928 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.007978, allocations: 49.69 kB / 0.7928 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.56e-05/0.008064, allocations: 80.73 kB / 0.7929 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.008167, allocations: 91.31 kB / 0.793 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.00817, allocations: 0 / 0.793 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000551/0.008721, allocations: 176.9 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.008763, allocations: 37.69 kB / 0.7932 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.008769, allocations: 3.938 kB / 0.7932 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.008782, allocations: 4.531 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.008828, allocations: 0 / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.008831, allocations: 0.7188 kB / 0.7932 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.008972, allocations: 24.52 kB / 0.7932 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.008991, allocations: 9.641 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.746e-05/0.009088, allocations: 156.6 kB / 0.7934 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.009105, allocations: 7.953 kB / 0.7934 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.009131, allocations: 11.94 kB / 0.7934 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.009135, allocations: 8.844 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.009137, allocations: 0 / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.009141, allocations: 0.7812 kB / 0.7934 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.009251, allocations: 105.2 kB / 0.7935 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009253, allocations: 1.156 kB / 0.7935 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.009273, allocations: 3.984 kB / 0.7935 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.009276, allocations: 4 kB / 0.7935 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.009281, allocations: 0.8438 kB / 0.7935 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009283, allocations: 0 / 0.7935 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.009285, allocations: 3.938 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.009401, allocations: 93.78 kB / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.009417, allocations: 7.953 kB / 0.7936 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.009429, allocations: 7.922 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.009451, allocations: 1.125 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.009478, allocations: 7.938 kB / 0.7936 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.009483, allocations: 288 / 0.7936 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.009545, allocations: 141 kB / 0.7938 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009545, allocations: 0 / 0.7938 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002522/0.009797, allocations: 16 kB / 0.7938 GB, free: 6.336 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000142/0.009939, allocations: 107.2 kB / 0.7939 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01014, allocations: 151.1 kB / 0.794 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01014, allocations: 0 / 0.794 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.631e-05/0.01017, allocations: 19.62 kB / 0.794 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01041, allocations: 21.86 kB / 0.7941 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.01071, allocations: 146 kB / 0.7942 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01075, allocations: 55.36 kB / 0.7942 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.01078, allocations: 7.984 kB / 0.7943 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01089, allocations: 91.38 kB / 0.7943 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01089, allocations: 0 / 0.7943 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.004455/0.01534, allocations: 1.657 MB / 0.796 GB, free: 4.07 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.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.169825114775449]