Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001246/0.001246, 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.001514/0.001514, allocations: 194.5 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6437, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002564/0.6463, allocations: 1.163 MB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.649, allocations: 2.175 MB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.6491, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.349e-05/0.6492, allocations: 23.69 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.6495, allocations: 83.25 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.6525, allocations: 1.377 MB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.6539, allocations: 1.283 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.508e-05/0.654, allocations: 28.72 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006945/0.6547, allocations: 479.2 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004556/0.6551, allocations: 347.1 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.6555, allocations: 104 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.6558, allocations: 120 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.6559, allocations: 59.77 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005382/0.6564, allocations: 387 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.6575, allocations: 0.9661 MB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6575, allocations: 0 / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.654e-06/0.6575, allocations: 4 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.6575, allocations: 7.938 kB / 1.026 GB, free: 9.945 MB / 0.7794 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.001495/0.659, allocations: 1.172 MB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.659, allocations: 15.97 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.6591, allocations: 38.73 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.6593, allocations: 64.56 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.6595, allocations: 220.5 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.6596, allocations: 36.36 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.6597, allocations: 68.36 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.66, allocations: 220.9 kB / 1.028 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.66, allocations: 3.938 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.66, allocations: 4 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.6601, allocations: 4 kB / 1.028 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.6602, allocations: 71.72 kB / 1.028 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008638/0.661, allocations: 0.8444 MB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.6613, allocations: 327.2 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.6615, allocations: 136.9 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.6615, allocations: 7.938 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005461/0.6621, allocations: 478.4 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.6621, allocations: 0 / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=45): time 0.001028/0.6631, allocations: 0.5617 MB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.6633, allocations: 435.2 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.6636, allocations: 308.3 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.6637, allocations: 61.7 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.6639, allocations: 157.3 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.664, allocations: 102.8 kB / 1.031 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.6645, allocations: 270.1 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6646, allocations: 346.8 kB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008481/0.6655, allocations: 429.3 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.6665, allocations: 0.7028 MB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.6678, allocations: 1.187 MB / 1.034 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.6678, allocations: 4 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00275/0.6705, allocations: 1.725 MB / 1.035 GB, free: 14.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.6708, allocations: 491.5 kB / 1.036 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.6708, allocations: 8 kB / 1.036 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.6709, allocations: 16 kB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.6709, allocations: 35.84 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.671, allocations: 15.94 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.6734, allocations: 419 kB / 1.036 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.6736, allocations: 95.92 kB / 1.037 GB, free: 13.69 MB / 0.795 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.000339/0.6739, allocations: 225.5 kB / 1.037 GB, free: 13.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.674, allocations: 47.45 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.6741, allocations: 38.14 kB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6741, allocations: 8 kB / 1.037 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6741, allocations: 8 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.6742, allocations: 4 kB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.6745, allocations: 337.2 kB / 1.037 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6746, allocations: 4 kB / 1.037 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.6746, allocations: 23.86 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6746, allocations: 4 kB / 1.037 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6747, allocations: 23.98 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6747, allocations: 4 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.6747, allocations: 7.938 kB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.6753, allocations: 0.5121 MB / 1.038 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.131e-05/0.6754, allocations: 116.7 kB / 1.038 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.6754, allocations: 15.98 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.6756, allocations: 8 kB / 1.038 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.6757, allocations: 71.75 kB / 1.038 GB, free: 12.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.6757, allocations: 27.98 kB / 1.038 GB, free: 12.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001588/0.6759, allocations: 191.1 kB / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6759, allocations: 0 / 1.038 GB, free: 11.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006696/0.6765, allocations: 200 kB / 1.038 GB, free: 11.71 MB / 0.795 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.0009909/0.6775, allocations: 1.085 MB / 1.039 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.6796, allocations: 1.764 MB / 1.041 GB, free: 8.602 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6796, allocations: 5.875 kB / 1.041 GB, free: 8.598 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.6798, allocations: 183.7 kB / 1.041 GB, free: 8.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.6806, allocations: 134.2 kB / 1.041 GB, free: 8.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009639/0.6902, allocations: 6.447 MB / 1.048 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.6907, allocations: 0.7798 MB / 1.048 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.6909, allocations: 42.97 kB / 1.049 GB, free: 472 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.691, allocations: 107.4 kB / 1.049 GB, free: 364 kB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/0.691, allocations: 0 / 1.049 GB, free: 364 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.7439, allocations: 14.79 MB / 1.063 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.755, allocations: 8.641 kB / 1.063 GB, free: 1.816 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches