Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.01094/0.01094, allocations: 108.4 kB / 15.74 MB, free: 6.449 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.002001/0.002001, allocations: 197 kB / 16.67 MB, free: 6.355 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.941/2.941, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 63.91 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4006, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003171/0.4038, allocations: 0.954 MB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.407, allocations: 1.44 MB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.4072, allocations: 4 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.757e-05/0.4073, allocations: 15.75 kB / 1.21 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.4075, allocations: 43.58 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4088, allocations: 459.5 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.4096, allocations: 0.5108 MB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.4098, allocations: 45.62 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.4101, allocations: 183.6 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.4104, allocations: 163.5 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.4105, allocations: 48 kB / 1.212 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.4106, allocations: 63.92 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.4107, allocations: 35.86 kB / 1.212 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.4109, allocations: 167.4 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.4115, allocations: 498.6 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4115, allocations: 3.938 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4115, allocations: 0 / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4115, allocations: 0 / 1.212 GB, free: 5.047 MB / 0.9669 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.0009862/0.4125, allocations: 0.6417 MB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4126, allocations: 12.03 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.4127, allocations: 28.73 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.413, allocations: 230.8 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.413, allocations: 16.38 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4131, allocations: 20.38 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4133, allocations: 125.6 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4133, allocations: 192 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.4133, allocations: 11.86 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4133, allocations: 4 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.4134, allocations: 47.98 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.4144, allocations: 0.8718 MB / 1.214 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4146, allocations: 122.4 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.4147, allocations: 59.48 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.4147, allocations: 0 / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.415, allocations: 177.1 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.415, allocations: 4 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0004776/0.4155, allocations: 225.3 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.529e-05/0.4155, allocations: 132.5 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4158, allocations: 244.9 kB / 1.215 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.4158, allocations: 37.7 kB / 1.215 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.416, allocations: 128.4 kB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.416, allocations: 31.7 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.4162, allocations: 93.64 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4163, allocations: 338.8 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.4166, allocations: 140.2 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.4169, allocations: 222.6 kB / 1.216 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.4174, allocations: 372.9 kB / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4174, allocations: 0 / 1.216 GB, free: 344 kB / 0.9669 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009719/0.4184, allocations: 0.5553 MB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.4185, allocations: 136.4 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4185, allocations: 3.984 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.4186, allocations: 12.19 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.4187, allocations: 12 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4187, allocations: 7.938 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.4193, allocations: 111.7 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.4194, allocations: 31.97 kB / 1.217 GB, free: 15.42 MB / 0.9825 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.0001817/0.4196, allocations: 150.2 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.4196, allocations: 23.72 kB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.4197, allocations: 21.17 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4197, allocations: 4 kB / 1.217 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.4197, allocations: 7.984 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4197, allocations: 7.938 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.42, allocations: 261.5 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.42, allocations: 7.938 kB / 1.218 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.4201, allocations: 12 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4201, allocations: 0 / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4201, allocations: 4 kB / 1.218 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4201, allocations: 3.984 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4201, allocations: 4 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.4204, allocations: 219.2 kB / 1.218 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.4205, allocations: 100.9 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.4206, allocations: 0 / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.4206, allocations: 8 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.4207, allocations: 11.92 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4207, allocations: 15.98 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001572/0.4209, allocations: 160.5 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4209, allocations: 4 kB / 1.218 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003306/0.4212, allocations: 75.89 kB / 1.218 GB, free: 14.23 MB / 0.9825 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.0002237/0.4214, allocations: 107.2 kB / 1.218 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007266/0.4222, allocations: 0.5287 MB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4222, allocations: 0.5 kB / 1.219 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.4223, allocations: 63.92 kB / 1.219 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.4228, allocations: 72.23 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.4235, allocations: 350.7 kB / 1.219 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4238, allocations: 0.732 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.4239, allocations: 22.3 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.4239, allocations: 15.44 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.4239, allocations: 4 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.008698/0.4327, allocations: 4.711 MB / 1.225 GB, free: 7.574 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches