Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 178.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 16 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.712/0.7123, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001471/0.7139, allocations: 0.862 MB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.7172, allocations: 2.357 MB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.7175, allocations: 4 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.7175, allocations: 15.8 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.7179, allocations: 75.38 kB / 1.027 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.7212, allocations: 1.309 MB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.7226, allocations: 1.053 MB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.7227, allocations: 24.73 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009438/0.7237, allocations: 427.2 kB / 1.03 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005985/0.7243, allocations: 331 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.7247, allocations: 60 kB / 1.03 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.7251, allocations: 75.92 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.7252, allocations: 55.75 kB / 1.03 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006564/0.7259, allocations: 376.7 kB / 1.031 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.7266, allocations: 0.6642 MB / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7267, allocations: 0 / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7267, allocations: 4 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.7267, allocations: 0 / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001315/0.728, allocations: 0.9964 MB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.7281, allocations: 8.031 kB / 1.032 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003589/0.7284, allocations: 68.55 kB / 1.032 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.7287, allocations: 220.4 kB / 1.032 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.387e-05/0.7288, allocations: 36.36 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.729, allocations: 68.3 kB / 1.033 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.7294, allocations: 222.9 kB / 1.033 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7294, allocations: 4.125 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.7295, allocations: 11.92 kB / 1.033 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7295, allocations: 0 / 1.033 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.7296, allocations: 67.78 kB / 1.033 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.7308, allocations: 0.8368 MB / 1.034 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.7312, allocations: 327.2 kB / 1.034 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.7314, allocations: 140.8 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.7314, allocations: 4 kB / 1.034 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006363/0.732, allocations: 482.4 kB / 1.035 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 3.627e-06/0.732, allocations: 0 / 1.035 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.001161/0.7332, allocations: 0.5655 MB / 1.035 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.7334, allocations: 447.2 kB / 1.036 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.7338, allocations: 292.3 kB / 1.036 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.734, allocations: 65.7 kB / 1.036 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.7343, allocations: 165.2 kB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.7344, allocations: 90.94 kB / 1.036 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.7347, allocations: 101.7 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.7348, allocations: 350.8 kB / 1.037 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.7358, allocations: 421.3 kB / 1.037 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.7368, allocations: 0.7028 MB / 1.038 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.7383, allocations: 1.191 MB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.7383, allocations: 4 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002879/0.7412, allocations: 1.717 MB / 1.041 GB, free: 13.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.7415, allocations: 493.4 kB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/0.7415, allocations: 8 kB / 1.041 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.7416, allocations: 12 kB / 1.041 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.7417, allocations: 31.86 kB / 1.041 GB, free: 12.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.7417, allocations: 19.92 kB / 1.041 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.7445, allocations: 0.566 MB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.7448, allocations: 99.92 kB / 1.042 GB, free: 12.22 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0004416/0.7452, allocations: 226.1 kB / 1.042 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.7454, allocations: 43.47 kB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.7455, allocations: 38.14 kB / 1.042 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7455, allocations: 8 kB / 1.042 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.7455, allocations: 4 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.7455, allocations: 7.984 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.746, allocations: 337.3 kB / 1.042 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.746, allocations: 8 kB / 1.042 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.68e-05/0.7461, allocations: 15.92 kB / 1.042 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.7461, allocations: 11.94 kB / 1.042 GB, free: 11.47 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.7462, allocations: 15.98 kB / 1.042 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.7462, allocations: 7.938 kB / 1.042 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7462, allocations: 4 kB / 1.042 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.7469, allocations: 0.5238 MB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.747, allocations: 112.6 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.7471, allocations: 15.98 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.7472, allocations: 11.98 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.7473, allocations: 59.81 kB / 1.043 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.7474, allocations: 31.98 kB / 1.043 GB, free: 10.62 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000185/0.7476, allocations: 191.1 kB / 1.043 GB, free: 10.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.7476, allocations: 0 / 1.043 GB, free: 10.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007559/0.7483, allocations: 196 kB / 1.043 GB, free: 10.24 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0002183/0.7486, allocations: 135.1 kB / 1.044 GB, free: 10.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.7507, allocations: 1.743 MB / 1.045 GB, free: 8.168 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7508, allocations: 0 / 1.045 GB, free: 8.168 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.7514, allocations: 363.6 kB / 1.046 GB, free: 7.812 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008743/0.7523, allocations: 121.2 kB / 1.046 GB, free: 7.691 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.7535, allocations: 0.7479 MB / 1.047 GB, free: 6.871 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.7539, allocations: 0.7764 MB / 1.047 GB, free: 6.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.754, allocations: 31.44 kB / 1.047 GB, free: 6.043 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/0.754, allocations: 4 kB / 1.047 GB, free: 6.039 MB / 0.795 GB Notification: Performance of Templates: time 0.01332/0.7673, allocations: 7.547 MB / 1.055 GB, free: 14.59 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches