Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 103.5 kB / 15.98 MB, free: 6.34 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.001209/0.001209, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 0.665 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 66.92 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 140.4 MB / 0.9498 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002585/0.3029, allocations: 1.026 MB / 0.9508 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.305, allocations: 1.424 MB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.3052, allocations: 4 kB / 0.9522 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.27e-05/0.3053, allocations: 7.875 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3055, allocations: 47.69 kB / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3066, allocations: 414.6 kB / 0.9526 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.3072, allocations: 0.5108 MB / 0.9531 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3074, allocations: 41.67 kB / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.3077, allocations: 183.5 kB / 0.9534 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3079, allocations: 139.5 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.308, allocations: 52 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.3082, allocations: 63.98 kB / 0.9536 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.3082, allocations: 39.8 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3084, allocations: 167.4 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.3088, allocations: 383.4 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3088, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3088, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.3089, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009583/0.3098, allocations: 0.6378 MB / 0.9548 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3099, allocations: 8.031 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.31, allocations: 36.64 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3102, allocations: 219 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3103, allocations: 20.31 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.3103, allocations: 20.38 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.3106, allocations: 133.1 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3106, allocations: 0 / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3106, allocations: 8 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3106, allocations: 0 / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3107, allocations: 55.92 kB / 0.9553 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3118, allocations: 0.8795 MB / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.3119, allocations: 118.4 kB / 0.9562 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.147e-05/0.312, allocations: 47.5 kB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.312, allocations: 3.984 kB / 0.9563 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.3123, allocations: 174.7 kB / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3124, allocations: 0 / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0004697/0.3128, allocations: 221.2 kB / 0.9567 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.3129, allocations: 140.5 kB / 0.9568 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3132, allocations: 248.8 kB / 0.957 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.3133, allocations: 37.7 kB / 0.9571 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3134, allocations: 132.4 kB / 0.9572 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.3134, allocations: 35.59 kB / 0.9572 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3136, allocations: 93.61 kB / 0.9573 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3137, allocations: 334.8 kB / 0.9576 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.314, allocations: 140.2 kB / 0.9578 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.3143, allocations: 226.7 kB / 0.958 GB, free: 388 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.3148, allocations: 372.8 kB / 0.9583 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3148, allocations: 0 / 0.9583 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008999/0.3157, allocations: 0.5508 MB / 0.9589 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/0.3158, allocations: 142.8 kB / 0.959 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3158, allocations: 0 / 0.959 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3158, allocations: 4 kB / 0.959 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.3159, allocations: 12 kB / 0.959 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3159, allocations: 11.88 kB / 0.959 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.3166, allocations: 115.7 kB / 0.9592 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.3167, allocations: 27.97 kB / 0.9592 GB, free: 15.04 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001648/0.3169, allocations: 150.7 kB / 0.9593 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.3169, allocations: 15.81 kB / 0.9593 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.317, allocations: 21.23 kB / 0.9594 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.317, allocations: 4 kB / 0.9594 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.317, allocations: 7.938 kB / 0.9594 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.317, allocations: 4 kB / 0.9594 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.3172, allocations: 265.4 kB / 0.9596 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3172, allocations: 3.984 kB / 0.9596 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3173, allocations: 8 kB / 0.9596 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3173, allocations: 0 / 0.9596 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3173, allocations: 11.98 kB / 0.9596 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3173, allocations: 0 / 0.9596 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3173, allocations: 7.938 kB / 0.9597 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3176, allocations: 217.7 kB / 0.9599 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.3177, allocations: 100.8 kB / 0.96 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.3177, allocations: 4 kB / 0.96 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.433e-05/0.3178, allocations: 7.938 kB / 0.96 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3178, allocations: 15.92 kB / 0.96 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3179, allocations: 19.98 kB / 0.96 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001377/0.318, allocations: 160.5 kB / 0.9602 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.318, allocations: 0 / 0.9602 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003386/0.3183, allocations: 67.98 kB / 0.9602 GB, free: 13.87 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001735/0.3185, allocations: 120.8 kB / 0.9603 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006863/0.3192, allocations: 0.5368 MB / 0.9609 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3192, allocations: 8 kB / 0.9609 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3194, allocations: 87.91 kB / 0.961 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3198, allocations: 56.38 kB / 0.961 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000639/0.3205, allocations: 412.6 kB / 0.9614 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3207, allocations: 0.7319 MB / 0.9621 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3208, allocations: 27.38 kB / 0.9621 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.714e-06/0.3208, allocations: 0 / 0.9621 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of Templates: time 0.006373/0.3272, allocations: 3.493 MB / 0.9656 GB, free: 8.32 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches