Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002119/0.002119, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001834/0.001834, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.94/2.94, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002117/0.002117, allocations: 66.19 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 170 MB / 1.283 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002381/0.305, allocations: 0.7285 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3068, allocations: 1.176 MB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.3069, allocations: 7.938 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3069, allocations: 0 / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.307, allocations: 15.86 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.3076, allocations: 132.9 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3078, allocations: 127.8 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.3079, allocations: 4 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.723e-05/0.308, allocations: 55.83 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3081, allocations: 43.83 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.3081, allocations: 12 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.3082, allocations: 27.98 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.3082, allocations: 4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.3083, allocations: 43.84 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3086, allocations: 135.6 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3086, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3086, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3086, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 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.0005654/0.3091, allocations: 327.7 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3092, allocations: 12.03 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.3092, allocations: 30.75 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.3093, allocations: 8.891 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3094, allocations: 118.5 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3094, allocations: 384 / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3094, allocations: 12.36 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3095, allocations: 42.25 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3096, allocations: 3.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3096, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3096, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.051e-05/0.3096, allocations: 19.94 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.3101, allocations: 299.8 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.3102, allocations: 30.58 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.3102, allocations: 20.89 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3102, allocations: 0 / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.3104, allocations: 71.27 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3104, allocations: 0 / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002322/0.3107, allocations: 73.64 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3107, allocations: 51.41 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3108, allocations: 133.8 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3109, allocations: 29.7 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.3109, allocations: 92.12 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.311, allocations: 15.84 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.625e-05/0.311, allocations: 29.7 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3112, allocations: 322.8 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.787e-05/0.3113, allocations: 39.98 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.3114, allocations: 58.48 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3115, allocations: 88.28 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3115, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.3118, allocations: 167.3 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.3118, allocations: 29.7 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3119, allocations: 4 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3119, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.3119, allocations: 11.94 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3119, allocations: 4.062 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3121, allocations: 27.92 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3121, allocations: 7.984 kB / 1.288 GB, free: 6.859 MB / 0.9825 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.0001083/0.3122, allocations: 121.8 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.3123, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.3123, allocations: 8 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3123, allocations: 0 / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3123, allocations: 7.984 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3123, allocations: 0 / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.3124, allocations: 148.7 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3124, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.3125, allocations: 64 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3125, allocations: 4 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3125, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3125, allocations: 3.984 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3125, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.3126, allocations: 96.95 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.842e-05/0.3126, allocations: 11.89 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3127, allocations: 0 / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.3127, allocations: 3.938 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3127, allocations: 7.984 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3127, allocations: 4 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.3128, allocations: 99.2 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3128, allocations: 0 / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002186/0.313, allocations: 16 kB / 1.288 GB, free: 6.258 MB / 0.9825 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.0005113/0.3135, allocations: 0.6358 MB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.3138, allocations: 119.7 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3138, allocations: 0 / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.3138, allocations: 19.92 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.314, allocations: 16.3 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.3158, allocations: 1.505 MB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3162, allocations: 0.6807 MB / 1.291 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.3162, allocations: 11.98 kB / 1.291 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.3162, allocations: 19.44 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3162, allocations: 0 / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.3443, allocations: 2.47 MB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.77, allocations: 9.875 kB / 1.294 GB, free: 0.7695 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.558387382887304]