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.001373/0.001373, allocations: 116.8 kB / 16.37 MB, free: 6.012 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.00132/0.00132, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 68.47 kB / 0.8141 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 140.4 MB / 0.9512 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002192/0.323, allocations: 0.7214 MB / 0.9519 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3246, allocations: 1.13 MB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.3247, allocations: 11.88 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3247, allocations: 3.938 kB / 0.953 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.3249, allocations: 15.88 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.3254, allocations: 131.6 kB / 0.9531 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.3257, allocations: 131.8 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3258, allocations: 15.97 kB / 0.9533 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3259, allocations: 43.92 kB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3261, allocations: 43.77 kB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.3261, allocations: 12 kB / 0.9534 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.3262, allocations: 31.97 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.3262, allocations: 11.98 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.3263, allocations: 35.86 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3265, allocations: 127.7 kB / 0.9536 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3266, allocations: 0 / 0.9536 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.789e-06/0.3266, allocations: 4 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.3266, allocations: 0 / 0.9536 GB, free: 5.566 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.0005979/0.3272, allocations: 400.9 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3272, allocations: 11.97 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3273, allocations: 8.844 kB / 0.954 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3275, allocations: 176.2 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.3275, allocations: 4.375 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3275, allocations: 4.375 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.3277, allocations: 46.25 kB / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3277, allocations: 192 / 0.9542 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3277, allocations: 7.922 kB / 0.9542 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.3277, allocations: 8 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/0.3278, allocations: 8 kB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.3283, allocations: 336.7 kB / 0.9545 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.3284, allocations: 30.52 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.029e-05/0.3284, allocations: 16.91 kB / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3284, allocations: 0 / 0.9546 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3286, allocations: 67.38 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3286, allocations: 0 / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002331/0.3288, allocations: 77.53 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3289, allocations: 51.41 kB / 0.9548 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.329, allocations: 129.8 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3291, allocations: 25.7 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.3291, allocations: 88.14 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3292, allocations: 15.81 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.3292, allocations: 37.69 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3294, allocations: 314.8 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.3295, allocations: 43.98 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.3296, allocations: 58.55 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3297, allocations: 96.16 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3297, allocations: 0 / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000267/0.33, allocations: 159.3 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.33, allocations: 37.7 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.33, allocations: 3.938 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3301, allocations: 4 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.3301, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3301, allocations: 8.062 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.3303, allocations: 31.94 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.3304, allocations: 7.984 kB / 0.9558 GB, free: 3.027 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 8.976e-05/0.3304, allocations: 123.7 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.3305, allocations: 4 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.3305, allocations: 7.906 kB / 0.9559 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3305, allocations: 4 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3305, allocations: 3.984 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3305, allocations: 0 / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.3307, allocations: 173.6 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3307, allocations: 0 / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.3307, allocations: 4 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3307, allocations: 0 / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3307, allocations: 3.984 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3307, allocations: 0 / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3307, allocations: 0 / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.3309, allocations: 96.97 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3309, allocations: 85.02 kB / 0.9563 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3309, allocations: 8 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.331, allocations: 3.984 kB / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.331, allocations: 0 / 0.9563 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.331, allocations: 8 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.254e-05/0.3311, allocations: 95.27 kB / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.01e-07/0.3311, allocations: 0 / 0.9564 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002168/0.3313, allocations: 20 kB / 0.9564 GB, free: 2.301 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.0001782/0.3315, allocations: 115.2 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3317, allocations: 135.3 kB / 0.9566 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3317, allocations: 4 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.09e-05/0.3318, allocations: 19.94 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.332, allocations: 21.66 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.3324, allocations: 138.2 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.3327, allocations: 0.6889 MB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.3327, allocations: 7.984 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.3328, allocations: 15.44 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.3328, allocations: 0 / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.004167/0.3369, allocations: 1.34 MB / 0.9588 GB, free: 15.77 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 gbode -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