Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004724/0.004724, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.001078/0.001078, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 71.45 kB / 0.9504 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2807, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002332/0.283, allocations: 0.7318 MB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.2847, allocations: 1.126 MB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.2848, allocations: 7.938 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.2849, allocations: 3.938 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.762e-05/0.285, allocations: 15.88 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.2855, allocations: 143.9 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.2857, allocations: 123.8 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.2858, allocations: 15.98 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.2859, allocations: 43.86 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.286, allocations: 43.81 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.2861, allocations: 12 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.2861, allocations: 27.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.2862, allocations: 11.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.2862, allocations: 39.84 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2864, allocations: 134.5 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2864, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2865, allocations: 4 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2865, allocations: 4 kB / 1.09 GB, free: 15.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000495/0.287, allocations: 393.8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.287, allocations: 11.97 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.2871, allocations: 34.69 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2871, allocations: 4.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2873, allocations: 176.2 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2873, allocations: 8.359 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.2873, allocations: 8.375 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.919e-05/0.2874, allocations: 42.25 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2874, allocations: 11.92 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.2874, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2874, allocations: 3.938 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.2875, allocations: 12 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.2879, allocations: 328.7 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.288, allocations: 30.56 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.288, allocations: 12.92 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.2881, allocations: 4 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.2882, allocations: 71.23 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.2882, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002063/0.2885, allocations: 69.69 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.2885, allocations: 55.41 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2886, allocations: 121.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.2886, allocations: 33.7 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.473e-05/0.2887, allocations: 96.05 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2887, allocations: 7.891 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.2888, allocations: 29.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.2889, allocations: 318.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.289, allocations: 35.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.2891, allocations: 66.47 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.2892, allocations: 92.27 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2892, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002681/0.2895, allocations: 167.3 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.2895, allocations: 37.64 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2896, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2896, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.2896, allocations: 7.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2896, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2898, allocations: 27.97 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2899, allocations: 8 kB / 1.092 GB, free: 12.94 MB / 0.8575 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 9.299e-05/0.29, allocations: 121.8 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.29, allocations: 3.906 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.29, allocations: 11.89 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.29, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.29, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.29, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2902, allocations: 177.5 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.2902, allocations: 7.984 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2902, allocations: 7.938 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2902, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2902, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.2904, allocations: 89 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.2904, allocations: 93.28 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2904, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.81e-05/0.2904, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.2905, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2905, allocations: 3.984 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.781e-05/0.2905, allocations: 99.27 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2906, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002124/0.2908, allocations: 20 kB / 1.093 GB, free: 12.21 MB / 0.8575 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.0003994/0.2912, allocations: 0.6372 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2914, allocations: 135.4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2914, allocations: 4 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.2915, allocations: 19.88 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2917, allocations: 20.11 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.2932, allocations: 1.485 MB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2935, allocations: 0.6807 MB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.2935, allocations: 7.984 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2935, allocations: 23.44 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.2935, allocations: 0 / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.3108, allocations: 2.405 MB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.896, allocations: 7.531 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches