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.001305/0.001311, allocations: 108.1 kB / 16.41 MB, free: 6.504 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.001225/0.001225, allocations: 187 kB / 17.34 MB, free: 5.742 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.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.15 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.329/2.329, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9782/0.9796, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002294/0.9819, allocations: 0.9651 MB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.9839, allocations: 1.426 MB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.984, allocations: 1.156 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.984, allocations: 16.97 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.9842, allocations: 57.23 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.9853, allocations: 434.8 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000618/0.9859, allocations: 0.5179 MB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.9861, allocations: 47 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.9863, allocations: 182.3 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.9866, allocations: 167.8 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.9867, allocations: 49.38 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.9869, allocations: 67.06 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.9869, allocations: 45.48 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.9872, allocations: 168.4 kB / 1.093 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.9878, allocations: 493.8 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9879, allocations: 0 / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9879, allocations: 0 / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.9879, allocations: 0.9062 kB / 1.093 GB, free: 2.82 MB / 0.8575 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.0008025/0.9887, allocations: 0.6266 MB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.9887, allocations: 9.562 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.9889, allocations: 35.88 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.989, allocations: 220.2 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.9891, allocations: 20.44 kB / 1.094 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.9892, allocations: 23.56 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.9894, allocations: 125 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.9894, allocations: 0 / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.9894, allocations: 2.891 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.9894, allocations: 1.656 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.9896, allocations: 65.16 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.9906, allocations: 0.8692 MB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.9908, allocations: 120.8 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.9908, allocations: 50.39 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.9909, allocations: 2.516 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.9912, allocations: 174.3 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.9912, allocations: 0 / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005303/0.9917, allocations: 225.3 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.9918, allocations: 146.2 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.9921, allocations: 236.4 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.9922, allocations: 36.95 kB / 1.096 GB, free: 472 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.9923, allocations: 140 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.9923, allocations: 32.16 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.9925, allocations: 92.88 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9927, allocations: 330.1 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.993, allocations: 149.3 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.9934, allocations: 227.1 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.994, allocations: 369.2 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.994, allocations: 4 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001184/0.9952, allocations: 0.5548 MB / 1.098 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.9953, allocations: 137.6 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9953, allocations: 2.531 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.9953, allocations: 4.188 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.463e-05/0.9954, allocations: 15.08 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.9955, allocations: 8.328 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.9962, allocations: 112.5 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.9963, allocations: 27.95 kB / 1.098 GB, free: 14.94 MB / 0.8731 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.0001939/0.9965, allocations: 154 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.9965, allocations: 21.59 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.749e-05/0.9966, allocations: 22.25 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.9966, allocations: 5.906 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9966, allocations: 1.594 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9966, allocations: 1.469 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.997, allocations: 257.9 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.997, allocations: 1.094 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.997, allocations: 10.95 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.997, allocations: 6.531 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.9971, allocations: 11.59 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9971, allocations: 5.812 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9971, allocations: 1.531 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.9975, allocations: 211.7 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.9975, allocations: 101.3 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.9976, allocations: 8.016 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.9976, allocations: 11.36 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.9977, allocations: 15.55 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.9977, allocations: 7.078 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001807/0.9979, allocations: 167.7 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9979, allocations: 0 / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003904/0.9983, allocations: 73.59 kB / 1.099 GB, free: 14.15 MB / 0.8731 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.0002166/0.9985, allocations: 116.4 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008242/0.9994, allocations: 0.5258 MB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9994, allocations: 0 / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.9996, allocations: 82.06 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/1, allocations: 80.55 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/1.001, allocations: 368.9 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/1.001, allocations: 0.7348 MB / 1.101 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.378e-05/1.001, allocations: 19.09 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.001, allocations: 0.75 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.008761/1.01, allocations: 3.507 MB / 1.104 GB, free: 12.26 MB / 0.8731 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