Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_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.01313/0.01313, allocations: 102.6 kB / 15.73 MB, free: 5.984 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.002491/0.002491, allocations: 198.6 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.245/2.245, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.119/3.119, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.213, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002666/1.215, allocations: 1.181 MB / 1.089 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004475/1.22, allocations: 2.163 MB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/1.22, allocations: 2.5 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/1.22, allocations: 21.19 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/1.221, allocations: 89.47 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005572/1.226, allocations: 1.39 MB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002897/1.229, allocations: 1.296 MB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/1.229, allocations: 18.06 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/1.23, allocations: 480.3 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/1.232, allocations: 441.6 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006969/1.232, allocations: 109.2 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/1.233, allocations: 115 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/1.233, allocations: 60.67 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000619/1.234, allocations: 391.6 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/1.236, allocations: 0.9641 MB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/1.236, allocations: 0.8125 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.046e-06/1.236, allocations: 0 / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.533e-05/1.236, allocations: 0 / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002449/1.238, allocations: 1.182 MB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.655e-05/1.238, allocations: 9.375 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/1.238, allocations: 42.28 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/1.239, allocations: 62.47 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/1.239, allocations: 226.2 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/1.239, allocations: 36.58 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/1.24, allocations: 65.66 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/1.24, allocations: 218 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.24, allocations: 5.25 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/1.24, allocations: 10.7 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/1.24, allocations: 2.469 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/1.241, allocations: 69.28 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/1.242, allocations: 0.8469 MB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/1.242, allocations: 325.7 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.243, allocations: 138.6 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/1.243, allocations: 7.875 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007411/1.243, allocations: 458.1 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.335e-06/1.243, allocations: 3.938 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001499/1.245, allocations: 0.5649 MB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003012/1.245, allocations: 435.9 kB / 1.101 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/1.246, allocations: 297.8 kB / 1.101 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.246, allocations: 67.22 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000255/1.246, allocations: 164.6 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.246, allocations: 93.05 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008568/1.247, allocations: 281.7 kB / 1.101 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.247, allocations: 350 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.249, allocations: 422.8 kB / 1.102 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/1.25, allocations: 0.7097 MB / 1.103 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/1.252, allocations: 1.197 MB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/1.252, allocations: 8 kB / 1.104 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003386/1.255, allocations: 1.715 MB / 1.106 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004706/1.256, allocations: 481.4 kB / 1.106 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/1.256, allocations: 10.84 kB / 1.106 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.111e-05/1.256, allocations: 14.69 kB / 1.106 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.256, allocations: 28.84 kB / 1.106 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-05/1.256, allocations: 26.27 kB / 1.106 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/1.259, allocations: 406 kB / 1.107 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/1.259, allocations: 96.16 kB / 1.107 GB, free: 9.164 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0007614/1.26, allocations: 215.4 kB / 1.107 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.26, allocations: 46.39 kB / 1.107 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/1.261, allocations: 36.94 kB / 1.107 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.261, allocations: 12.16 kB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.811e-05/1.261, allocations: 5.219 kB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/1.261, allocations: 6.25 kB / 1.107 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/1.262, allocations: 332.2 kB / 1.107 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.262, allocations: 3.031 kB / 1.107 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.389e-05/1.262, allocations: 25.94 kB / 1.107 GB, free: 8.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/1.262, allocations: 10.22 kB / 1.107 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/1.262, allocations: 18.75 kB / 1.107 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/1.262, allocations: 5.828 kB / 1.107 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/1.262, allocations: 7.219 kB / 1.107 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/1.263, allocations: 0.5154 MB / 1.108 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.264, allocations: 119.1 kB / 1.108 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.264, allocations: 18.55 kB / 1.108 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.264, allocations: 14.14 kB / 1.108 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.264, allocations: 54.48 kB / 1.108 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/1.264, allocations: 27.83 kB / 1.108 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003756/1.265, allocations: 193.8 kB / 1.108 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.51e-07/1.265, allocations: 4 kB / 1.108 GB, free: 8.098 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0015/1.266, allocations: 203.2 kB / 1.108 GB, free: 8.078 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.001724/1.268, allocations: 1.081 MB / 1.11 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004481/1.272, allocations: 1.75 MB / 1.111 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.272, allocations: 0.5312 kB / 1.111 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006863/1.273, allocations: 186.2 kB / 1.111 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.274, allocations: 130 kB / 1.112 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.295, allocations: 6.468 MB / 1.118 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/1.296, allocations: 0.7744 MB / 1.119 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003698/1.296, allocations: 42.86 kB / 1.119 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/1.296, allocations: 105.9 kB / 1.119 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/1.296, allocations: 0 / 1.119 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.409, allocations: 14.86 MB / 1.133 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.62, allocations: 15.48 kB / 1.133 GB, free: 14.35 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches