Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002846/0.002846, allocations: 194 kB / 16.53 MB, free: 6.664 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.644/1.644, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.149/3.149, allocations: 482.6 MB / 0.7548 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 69.86 kB / 0.9241 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4207, allocations: 162.3 MB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00254/0.4233, allocations: 0.7192 MB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.4258, allocations: 1.131 MB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.4259, allocations: 8 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.482e-05/0.426, allocations: 3.938 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.4261, allocations: 15.81 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007979/0.4269, allocations: 122.8 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.4272, allocations: 135.7 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4273, allocations: 8 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.4275, allocations: 47.91 kB / 1.085 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.4276, allocations: 39.83 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.4277, allocations: 12 kB / 1.085 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.4278, allocations: 27.98 kB / 1.085 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.4278, allocations: 7.938 kB / 1.085 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.332e-05/0.4279, allocations: 43.84 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.4281, allocations: 127.7 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4282, allocations: 4 kB / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4282, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4282, allocations: 0 / 1.085 GB, free: 10.46 MB / 0.8419 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.0006897/0.4289, allocations: 397.2 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.4289, allocations: 12.03 kB / 1.085 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.429, allocations: 16.77 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4292, allocations: 176.4 kB / 1.086 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.4292, allocations: 4.375 kB / 1.086 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4293, allocations: 4.375 kB / 1.086 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4294, allocations: 42.25 kB / 1.086 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4294, allocations: 192 / 1.086 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.4294, allocations: 7.938 kB / 1.086 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.4295, allocations: 7.938 kB / 1.086 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.4295, allocations: 19.98 kB / 1.086 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.4301, allocations: 328.7 kB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.4301, allocations: 30.52 kB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.4302, allocations: 12.92 kB / 1.086 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4302, allocations: 4 kB / 1.086 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.4304, allocations: 67.33 kB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.4304, allocations: 0 / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002366/0.4307, allocations: 77.58 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4307, allocations: 51.41 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.4309, allocations: 133.8 kB / 1.086 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.4309, allocations: 25.7 kB / 1.086 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.431, allocations: 96.08 kB / 1.086 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.431, allocations: 7.906 kB / 1.086 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.4311, allocations: 29.7 kB / 1.086 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4313, allocations: 318.8 kB / 1.087 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.662e-05/0.4314, allocations: 39.98 kB / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4315, allocations: 50.56 kB / 1.087 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4317, allocations: 96.2 kB / 1.087 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4317, allocations: 7.875 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003139/0.432, allocations: 163.2 kB / 1.087 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.4321, allocations: 37.69 kB / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4321, allocations: 0 / 1.087 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4321, allocations: 7.938 kB / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.4322, allocations: 0 / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4322, allocations: 0 / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.4324, allocations: 32.03 kB / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.4324, allocations: 11.98 kB / 1.087 GB, free: 7.922 MB / 0.8419 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.0001215/0.4326, allocations: 117.8 kB / 1.087 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.4326, allocations: 7.906 kB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.4326, allocations: 3.906 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4326, allocations: 0 / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.4326, allocations: 7.984 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4326, allocations: 4.234 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.4328, allocations: 177.6 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4328, allocations: 0 / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.4329, allocations: 8.062 kB / 1.088 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4329, allocations: 3.984 kB / 1.088 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4329, allocations: 3.984 kB / 1.088 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4329, allocations: 3.938 kB / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4329, allocations: 0 / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.4331, allocations: 92.97 kB / 1.088 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.4331, allocations: 81.11 kB / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.4331, allocations: 0 / 1.088 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.092e-05/0.4332, allocations: 7.984 kB / 1.088 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.4332, allocations: 0 / 1.088 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.4332, allocations: 0 / 1.088 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.294e-05/0.4333, allocations: 99.27 kB / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/0.4333, allocations: 0 / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002315/0.4335, allocations: 20 kB / 1.088 GB, free: 7.195 MB / 0.8419 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.0002209/0.4338, allocations: 115.7 kB / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.4341, allocations: 131.3 kB / 1.088 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4341, allocations: 0 / 1.088 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.4341, allocations: 16 kB / 1.088 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.4344, allocations: 33.52 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.4348, allocations: 154 kB / 1.088 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4353, allocations: 0.6807 MB / 1.089 GB, free: 6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.4353, allocations: 7.984 kB / 1.089 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.4353, allocations: 7.438 kB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.4353, allocations: 0 / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.005482/0.4408, allocations: 1.348 MB / 1.09 GB, free: 4.656 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches