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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001303/0.001303, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 61.09 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3179, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002629/0.3206, allocations: 1.157 MB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.3239, allocations: 2.178 MB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.3241, allocations: 0 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.249e-05/0.3243, allocations: 23.67 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.3246, allocations: 79.27 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.328, allocations: 1.38 MB / 1.023 GB, free: 5.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.3297, allocations: 1.291 MB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3298, allocations: 24.73 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008219/0.3306, allocations: 479.2 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.3311, allocations: 343.1 kB / 1.025 GB, free: 3.715 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.3316, allocations: 104 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.3319, allocations: 124 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.332, allocations: 55.77 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.3327, allocations: 395 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.3339, allocations: 0.9627 MB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.334, allocations: 0 / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.334, allocations: 7.938 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.334, allocations: 0 / 1.026 GB, free: 2.078 MB / 0.795 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.001997/0.336, allocations: 1.168 MB / 1.028 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.336, allocations: 8.922 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.3363, allocations: 68.5 kB / 1.028 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3365, allocations: 224.3 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.3366, allocations: 40.3 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.3368, allocations: 64.36 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3372, allocations: 222.9 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3372, allocations: 4.188 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3372, allocations: 7.938 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3372, allocations: 0 / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3374, allocations: 67.89 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3384, allocations: 0.8562 MB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.3388, allocations: 323.3 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3389, allocations: 140.8 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.339, allocations: 8 kB / 1.029 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006116/0.3396, allocations: 470.4 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.3396, allocations: 0 / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45): time 0.001109/0.3407, allocations: 0.5576 MB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002343/0.3409, allocations: 439.2 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.3413, allocations: 296.4 kB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.3414, allocations: 69.64 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3417, allocations: 165.2 kB / 1.031 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3418, allocations: 90.94 kB / 1.031 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.3423, allocations: 274.1 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3425, allocations: 346.8 kB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/0.3434, allocations: 425.3 kB / 1.032 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.3445, allocations: 0.7067 MB / 1.033 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.346, allocations: 1.191 MB / 1.034 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.346, allocations: 4 kB / 1.034 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002912/0.3489, allocations: 1.721 MB / 1.036 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000344/0.3493, allocations: 489.2 kB / 1.036 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.3493, allocations: 8 kB / 1.036 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.3493, allocations: 12 kB / 1.036 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.3494, allocations: 35.84 kB / 1.037 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.3494, allocations: 23.92 kB / 1.037 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/0.3519, allocations: 419 kB / 1.037 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.3521, allocations: 91.92 kB / 1.037 GB, free: 5.879 MB / 0.8106 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.0003489/0.3524, allocations: 224 kB / 1.037 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3525, allocations: 51.45 kB / 1.037 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.671e-05/0.3526, allocations: 38.08 kB / 1.037 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.3526, allocations: 8 kB / 1.037 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/0.3527, allocations: 8 kB / 1.037 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.3527, allocations: 8 kB / 1.037 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.3531, allocations: 333.3 kB / 1.038 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3531, allocations: 4 kB / 1.038 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.3532, allocations: 19.92 kB / 1.038 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3532, allocations: 7.938 kB / 1.038 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/0.3532, allocations: 23.98 kB / 1.038 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3532, allocations: 4 kB / 1.038 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3532, allocations: 7.938 kB / 1.038 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/0.3539, allocations: 0.5121 MB / 1.038 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.354, allocations: 116.6 kB / 1.038 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.3541, allocations: 15.98 kB / 1.038 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3542, allocations: 16 kB / 1.038 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.3543, allocations: 59.88 kB / 1.038 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.45e-05/0.3543, allocations: 27.98 kB / 1.038 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001733/0.3545, allocations: 195 kB / 1.039 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3545, allocations: 0 / 1.039 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007278/0.3553, allocations: 207.9 kB / 1.039 GB, free: 3.887 MB / 0.8106 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.0002131/0.3555, allocations: 127.2 kB / 1.039 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002298/0.3578, allocations: 1.766 MB / 1.041 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3578, allocations: 0 / 1.041 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.3584, allocations: 364.7 kB / 1.041 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.3592, allocations: 129.2 kB / 1.041 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3603, allocations: 0.6755 MB / 1.042 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3607, allocations: 0.7799 MB / 1.043 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.3608, allocations: 39.44 kB / 1.043 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3608, allocations: 0 / 1.043 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of Templates: time 0.01224/0.373, allocations: 7.56 MB / 1.05 GB, free: 8.246 MB / 0.8262 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