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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108 kB / 15.6 MB, free: 132 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.001509/0.001509, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.574/2.574, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 66.27 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2572, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001701/0.259, allocations: 0.7321 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2602, allocations: 1.133 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.2603, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2603, allocations: 7.875 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.2604, allocations: 19.88 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.2607, allocations: 129.8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2609, allocations: 127.8 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.261, allocations: 11.98 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.332e-05/0.261, allocations: 47.91 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.728e-05/0.2611, allocations: 43.83 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2612, allocations: 15.94 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.306e-05/0.2612, allocations: 23.98 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.2612, allocations: 7.984 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.2613, allocations: 39.86 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2615, allocations: 132 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.2615, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2615, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.2615, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 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.0004123/0.2619, allocations: 393 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2619, allocations: 16.03 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.262, allocations: 34.73 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.262, allocations: 4.938 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2622, allocations: 184.2 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2622, allocations: 4.375 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2622, allocations: 4.375 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.715e-05/0.2623, allocations: 46.23 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2623, allocations: 3.938 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.2623, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2623, allocations: 4 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.2623, allocations: 16 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.2627, allocations: 340.6 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.2628, allocations: 26.58 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.2628, allocations: 12.91 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.2628, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.2629, allocations: 67.39 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.263, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001446/0.2631, allocations: 73.62 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2632, allocations: 51.41 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.2633, allocations: 133.8 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2633, allocations: 25.7 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2633, allocations: 96.05 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.2634, allocations: 7.906 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.2634, allocations: 37.69 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.2636, allocations: 318.8 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.2637, allocations: 39.98 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.2637, allocations: 54.55 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.2639, allocations: 96.2 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2639, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000259/0.2641, allocations: 163.2 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.2642, allocations: 33.7 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.2642, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.2642, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.2642, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2642, allocations: 7.984 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2644, allocations: 36.03 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2645, allocations: 8.234 kB / 1.069 GB, free: 9.164 MB / 0.8262 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 8.07e-05/0.2645, allocations: 121.7 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.2646, allocations: 7.906 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.2646, allocations: 11.88 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2646, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2646, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2646, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2647, allocations: 177.6 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2647, allocations: 4 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.2648, allocations: 7.984 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2648, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.2648, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2648, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2648, allocations: 0 / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2649, allocations: 89.06 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.265, allocations: 88.94 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.265, allocations: 4 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.677e-05/0.265, allocations: 4 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.265, allocations: 0 / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.265, allocations: 7.938 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.192e-05/0.2651, allocations: 95.27 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2651, allocations: 4 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001944/0.2653, allocations: 19.94 kB / 1.069 GB, free: 8.43 MB / 0.8262 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.0004105/0.2657, allocations: 0.6358 MB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.2659, allocations: 135.3 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.2659, allocations: 0 / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.391e-05/0.266, allocations: 20 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.2661, allocations: 11.98 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.2675, allocations: 1.488 MB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2678, allocations: 0.6846 MB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.2678, allocations: 4 kB / 1.072 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.2679, allocations: 24.19 kB / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2679, allocations: 0 / 1.072 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.705/2.972, allocations: 2.331 MB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/15.84, allocations: 10.97 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB (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 --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) 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) Reference file matches