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.001777/0.001777, allocations: 107.9 kB / 16.27 MB, free: 6.004 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.001865/0.001865, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.378/1.379, 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 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.03 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002645/0.2648, allocations: 0.9733 MB / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.267, allocations: 1.428 MB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.2672, allocations: 0 / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.935e-05/0.2673, allocations: 19.73 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.2675, allocations: 47.58 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2687, allocations: 438.3 kB / 0.9531 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.2693, allocations: 0.5147 MB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2695, allocations: 41.66 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.2697, allocations: 183.6 kB / 0.9538 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.27, allocations: 139.5 kB / 0.954 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.2701, allocations: 48 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2703, allocations: 71.98 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.2703, allocations: 35.84 kB / 0.9541 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.2705, allocations: 167.4 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005362/0.2711, allocations: 0.4911 MB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2711, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2711, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.2711, allocations: 0 / 0.9548 GB, free: 4.25 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.0009661/0.2721, allocations: 0.63 MB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2721, allocations: 8.031 kB / 0.9554 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2723, allocations: 32.66 kB / 0.9554 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2725, allocations: 227 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2725, allocations: 16.38 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.3e-05/0.2726, allocations: 28.3 kB / 0.9557 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2728, allocations: 117.2 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.2728, allocations: 0 / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.2729, allocations: 8 kB / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2729, allocations: 0 / 0.9558 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.273, allocations: 59.91 kB / 0.9558 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.274, allocations: 0.8756 MB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.2742, allocations: 114.4 kB / 0.9568 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.2743, allocations: 63.42 kB / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.2743, allocations: 0 / 0.9569 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.2746, allocations: 181.5 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.2746, allocations: 0 / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.000468/0.2751, allocations: 225.9 kB / 0.9573 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.2752, allocations: 140.4 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2754, allocations: 244.9 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.2755, allocations: 37.7 kB / 0.9577 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2756, allocations: 128.4 kB / 0.9578 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.2757, allocations: 35.59 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.2759, allocations: 97.61 kB / 0.9579 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.276, allocations: 334.8 kB / 0.9582 GB, free: 364 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.2763, allocations: 140.2 kB / 0.9584 GB, free: 224 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.2767, allocations: 222.7 kB / 0.9586 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.2772, allocations: 372.9 kB / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2772, allocations: 0 / 0.9589 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008904/0.2781, allocations: 0.5467 MB / 0.9595 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.453e-05/0.2782, allocations: 138.8 kB / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2782, allocations: 0 / 0.9596 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2782, allocations: 8.25 kB / 0.9596 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.2783, allocations: 23.92 kB / 0.9596 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2783, allocations: 7.938 kB / 0.9596 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.279, allocations: 111.7 kB / 0.9597 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.2791, allocations: 27.97 kB / 0.9598 GB, free: 14.62 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.0001505/0.2793, allocations: 159.6 kB / 0.9599 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.2793, allocations: 19.8 kB / 0.9599 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.2793, allocations: 17.25 kB / 0.96 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2794, allocations: 4 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2794, allocations: 3.938 kB / 0.96 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2794, allocations: 7.984 kB / 0.96 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.2796, allocations: 261.4 kB / 0.9602 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2796, allocations: 4 kB / 0.9602 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.2797, allocations: 11.94 kB / 0.9602 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2797, allocations: 0 / 0.9602 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2797, allocations: 7.984 kB / 0.9602 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2797, allocations: 0 / 0.9602 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2797, allocations: 7.938 kB / 0.9603 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.28, allocations: 215.4 kB / 0.9605 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.28, allocations: 100.8 kB / 0.9606 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.2801, allocations: 7.938 kB / 0.9606 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.2801, allocations: 4 kB / 0.9606 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.2802, allocations: 19.91 kB / 0.9606 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2802, allocations: 8 kB / 0.9606 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001386/0.2803, allocations: 168.5 kB / 0.9608 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2804, allocations: 4 kB / 0.9608 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000335/0.2807, allocations: 64 kB / 0.9608 GB, free: 13.45 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.0001613/0.2809, allocations: 111.2 kB / 0.9609 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006975/0.2816, allocations: 0.5325 MB / 0.9614 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2816, allocations: 0.5 kB / 0.9614 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2817, allocations: 88.66 kB / 0.9615 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.2822, allocations: 68.3 kB / 0.9616 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.2828, allocations: 380.6 kB / 0.962 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.2831, allocations: 0.7358 MB / 0.9627 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.2832, allocations: 27.42 kB / 0.9627 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of SimCode: time 3.51e-07/0.2832, allocations: 0 / 0.9627 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.006309/0.2895, allocations: 3.485 MB / 0.9661 GB, free: 7.941 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