Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.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.246/2.246, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5987, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00226/0.601, allocations: 1.011 MB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.6026, allocations: 1.5 MB / 0.9515 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.6027, allocations: 6.594 kB / 0.9515 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.6028, allocations: 3.938 kB / 0.9515 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.6029, allocations: 47.88 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.6037, allocations: 416.2 kB / 0.952 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.604, allocations: 422.7 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.6041, allocations: 40.95 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.6043, allocations: 152.7 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.6044, allocations: 125.9 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.6045, allocations: 24.31 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.534e-05/0.6046, allocations: 33.73 kB / 0.9527 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.6046, allocations: 31.19 kB / 0.9528 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.6048, allocations: 141.7 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.6051, allocations: 476.4 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6051, allocations: 0 / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.6051, allocations: 1.188 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.6052, allocations: 0 / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006791/0.6058, allocations: 0.6258 MB / 0.954 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6059, allocations: 14.06 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.6059, allocations: 41.33 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.606, allocations: 30.44 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.6062, allocations: 223.5 kB / 0.9543 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.6062, allocations: 22.84 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.6063, allocations: 19 kB / 0.9543 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.6065, allocations: 121.4 kB / 0.9544 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6065, allocations: 5.219 kB / 0.9544 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.6065, allocations: 9.062 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.6065, allocations: 2.5 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6066, allocations: 53.78 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.6074, allocations: 0.8754 MB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.6076, allocations: 122.7 kB / 0.9555 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.6077, allocations: 55.47 kB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.6077, allocations: 1.5 kB / 0.9555 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.6079, allocations: 177.6 kB / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.6079, allocations: 0 / 0.9557 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0004326/0.6084, allocations: 231.9 kB / 0.9559 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.6084, allocations: 136.5 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.6086, allocations: 240.6 kB / 0.9563 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.6087, allocations: 37.11 kB / 0.9563 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.6088, allocations: 130.6 kB / 0.9564 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.6088, allocations: 38.95 kB / 0.9565 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.609, allocations: 94.44 kB / 0.9566 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.609, allocations: 330.3 kB / 0.9569 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.6093, allocations: 143.8 kB / 0.957 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.6096, allocations: 225.6 kB / 0.9572 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.61, allocations: 363.1 kB / 0.9576 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.61, allocations: 1.094 kB / 0.9576 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008583/0.6109, allocations: 0.554 MB / 0.9581 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.6109, allocations: 133.2 kB / 0.9582 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.611, allocations: 3.75 kB / 0.9582 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.611, allocations: 4.031 kB / 0.9582 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.6111, allocations: 24.42 kB / 0.9583 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.6111, allocations: 8.484 kB / 0.9583 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/0.6117, allocations: 115.2 kB / 0.9584 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.6118, allocations: 27.45 kB / 0.9584 GB, free: 1.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001368/0.6119, allocations: 150.8 kB / 0.9586 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.612, allocations: 17.44 kB / 0.9586 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.612, allocations: 22.73 kB / 0.9586 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.612, allocations: 18.62 kB / 0.9586 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.612, allocations: 1.375 kB / 0.9586 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6121, allocations: 5.312 kB / 0.9586 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.6122, allocations: 256 kB / 0.9589 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.6123, allocations: 1.375 kB / 0.9589 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.6123, allocations: 16.17 kB / 0.9589 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6123, allocations: 1.375 kB / 0.9589 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6123, allocations: 2.75 kB / 0.9589 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6123, allocations: 5.312 kB / 0.9589 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6123, allocations: 1.375 kB / 0.9589 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.6126, allocations: 226.7 kB / 0.9591 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.6127, allocations: 94.33 kB / 0.9592 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.6127, allocations: 6.734 kB / 0.9592 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.6127, allocations: 10.69 kB / 0.9592 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.6128, allocations: 14.61 kB / 0.9592 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.6128, allocations: 9.344 kB / 0.9592 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001268/0.6129, allocations: 169.9 kB / 0.9594 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6129, allocations: 0 / 0.9594 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000326/0.6133, allocations: 68 kB / 0.9595 GB, free: 0.625 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005554/0.6138, allocations: 0.7751 MB / 0.9602 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007425/0.6146, allocations: 0.5199 MB / 0.9607 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6146, allocations: 0 / 0.9607 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.6147, allocations: 70.09 kB / 0.9608 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.6152, allocations: 59.08 kB / 0.9609 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.6192, allocations: 3.031 MB / 0.9638 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.6195, allocations: 0.7301 MB / 0.9645 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.801e-05/0.6196, allocations: 17.73 kB / 0.9645 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.46e-05/0.6197, allocations: 61.78 kB / 0.9646 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.6197, allocations: 0 / 0.9646 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.6463, allocations: 6.048 MB / 0.9705 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.6465, allocations: 209.9 kB / 0.9707 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.75, allocations: 4 kB / 0.9707 GB, free: 9.082 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches