Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001267/0.001267, allocations: 192 kB / 17.31 MB, free: 5.18 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 65.39 kB / 0.8141 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3819, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002246/0.3842, allocations: 0.7224 MB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3859, allocations: 1.13 MB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.386, allocations: 3.938 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.3861, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.3862, allocations: 15.84 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.3867, allocations: 127.3 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3869, allocations: 135.8 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.387, allocations: 8 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.3871, allocations: 47.89 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3872, allocations: 43.83 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3873, allocations: 12 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.3873, allocations: 27.98 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3874, allocations: 11.94 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.963e-05/0.3874, allocations: 47.83 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3877, allocations: 127.7 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3877, allocations: 0 / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3877, allocations: 0 / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3877, allocations: 0 / 0.9536 GB, free: 5.543 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005615/0.3883, allocations: 397 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3883, allocations: 15.91 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3884, allocations: 12.84 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3885, allocations: 176.3 kB / 0.9541 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3886, allocations: 8.375 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3886, allocations: 4.375 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.3887, allocations: 50.17 kB / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3887, allocations: 192 / 0.9542 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3887, allocations: 3.938 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3887, allocations: 0 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.667e-05/0.3888, allocations: 15.98 kB / 0.9542 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3893, allocations: 328.8 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.3894, allocations: 34.45 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.3895, allocations: 12.92 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3895, allocations: 0 / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.3896, allocations: 59.39 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.3897, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002376/0.3899, allocations: 81.52 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.39, allocations: 59.41 kB / 0.9548 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3901, allocations: 121.8 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.3901, allocations: 29.7 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3902, allocations: 100.1 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.3902, allocations: 7.812 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.3903, allocations: 29.7 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3905, allocations: 322.8 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.3906, allocations: 35.98 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.3907, allocations: 54.56 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3908, allocations: 100.2 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3908, allocations: 0 / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002837/0.3911, allocations: 163.3 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.3911, allocations: 41.69 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3912, allocations: 3.938 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3912, allocations: 0 / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.3912, allocations: 4 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3913, allocations: 0 / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.3915, allocations: 27.88 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3915, allocations: 4 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001177/0.3916, allocations: 129.8 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3916, allocations: 0 / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.3917, allocations: 15.84 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3917, allocations: 0 / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3917, allocations: 0 / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3917, allocations: 0 / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.3918, allocations: 177.6 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3918, allocations: 3.938 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.3919, allocations: 0 / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3919, allocations: 0 / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3919, allocations: 4 kB / 0.9561 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3919, allocations: 4 kB / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3919, allocations: 0 / 0.9561 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.392, allocations: 93.19 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.3921, allocations: 85.02 kB / 0.9562 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3921, allocations: 4 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.3922, allocations: 48 / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3922, allocations: 11.97 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.3922, allocations: 8 kB / 0.9563 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.3923, allocations: 99.27 kB / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3923, allocations: 0 / 0.9564 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002363/0.3925, allocations: 16 kB / 0.9564 GB, free: 2.273 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002158/0.3928, allocations: 111.1 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.393, allocations: 135.4 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.393, allocations: 0 / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.121e-05/0.3931, allocations: 20.05 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.3934, allocations: 31.92 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3938, allocations: 134.2 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3941, allocations: 0.6922 MB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.3941, allocations: 0 / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.3942, allocations: 11.44 kB / 0.9575 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3942, allocations: 4 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.004239/0.3984, allocations: 1.338 MB / 0.9588 GB, free: 15.75 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches