Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 212.5 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.246/3.246, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 64.89 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002063/0.3523, allocations: 0.712 MB / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3539, allocations: 1.155 MB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.354, allocations: 0 / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.354, allocations: 3.938 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.3541, allocations: 19.86 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.3546, allocations: 131.6 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3548, allocations: 123.8 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.3549, allocations: 8 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.355, allocations: 55.83 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3551, allocations: 35.83 kB / 1.327 GB, free: 152 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.3552, allocations: 12 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.3552, allocations: 24 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.3553, allocations: 11.98 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.3553, allocations: 39.84 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3556, allocations: 127.9 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3556, allocations: 11.98 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3556, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.3556, allocations: 0 / 1.328 GB, free: 15.93 MB / 1.029 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.0005294/0.3561, allocations: 319.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3562, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.3562, allocations: 30.75 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.3562, allocations: 16.83 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3564, allocations: 118.4 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3564, allocations: 8.375 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3564, allocations: 4.375 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3565, allocations: 46.25 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3565, allocations: 3.938 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3565, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3565, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.938e-05/0.3566, allocations: 15.98 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.357, allocations: 283.8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.111e-05/0.3571, allocations: 26.58 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.3571, allocations: 8.922 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.3572, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3573, allocations: 71.38 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3573, allocations: 4 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002283/0.3576, allocations: 81.56 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3576, allocations: 51.41 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3577, allocations: 125.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.3578, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3578, allocations: 96.08 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.3578, allocations: 11.94 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3579, allocations: 29.7 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3581, allocations: 322.8 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3582, allocations: 65.69 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3583, allocations: 92.25 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3584, allocations: 100.1 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3584, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003206/0.3588, allocations: 197 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.3588, allocations: 37.7 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3588, allocations: 3.984 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3588, allocations: 4.062 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.3589, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3589, allocations: 8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.3591, allocations: 31.91 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.3591, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 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.0001069/0.3592, allocations: 118.3 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.3592, allocations: 11.94 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3593, allocations: 8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3593, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3593, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3593, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.3594, allocations: 144.7 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3594, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.3594, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3594, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3594, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3594, allocations: 0 / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3594, allocations: 4 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3596, allocations: 89 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.3596, allocations: 15.88 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3596, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.027e-05/0.3596, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.3597, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3597, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.3598, allocations: 103.6 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002277/0.36, allocations: 19.98 kB / 1.33 GB, free: 12.86 MB / 1.029 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.0005235/0.3605, allocations: 0.6358 MB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.3608, allocations: 153 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3608, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.3608, allocations: 16.53 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3611, allocations: 18.44 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3631, allocations: 1.635 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.3632, allocations: 71.38 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.6e-05/0.3632, allocations: 11.97 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3633, allocations: 11.44 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 6.91e-07/0.3633, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.3943, allocations: 3.017 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 2.438 kB / 1.336 GB, free: 7.27 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.576526619959623]