Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007735/0.0007735, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004857/0.004857, allocations: 169 kB / 16.26 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8.312 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.0008362/0.2933, allocations: 458.9 kB / 1.059 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2948, allocations: 1.139 MB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.2948, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.2949, allocations: 7.922 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.029e-05/0.295, allocations: 15.86 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.2954, allocations: 118.7 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2955, allocations: 99.81 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.2956, allocations: 12 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.2957, allocations: 39.84 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.344e-05/0.2958, allocations: 31.89 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2958, allocations: 4 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.2959, allocations: 27.86 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.2959, allocations: 4 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.296, allocations: 61.55 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2961, allocations: 116 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2961, allocations: 0 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2961, allocations: 0 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2962, allocations: 0 / 1.061 GB, free: 2.711 MB / 0.8106 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.0004029/0.2966, allocations: 385.1 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2966, allocations: 15.97 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.2967, allocations: 34.75 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.2967, allocations: 8.844 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2968, allocations: 184.1 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2969, allocations: 4.375 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2969, allocations: 4.375 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.532e-05/0.297, allocations: 50.25 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.297, allocations: 3.938 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.297, allocations: 3.984 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.297, allocations: 8 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.2971, allocations: 11.98 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.2975, allocations: 336.7 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.981e-05/0.2976, allocations: 26.58 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.2976, allocations: 12.92 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.2976, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.2978, allocations: 59.39 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2978, allocations: 0 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.298, allocations: 81.52 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.298, allocations: 51.41 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2982, allocations: 129.8 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2982, allocations: 25.7 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.2982, allocations: 96.12 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2983, allocations: 11.91 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.2983, allocations: 13.72 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.2984, allocations: 322.8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.2985, allocations: 35.98 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.2986, allocations: 54.56 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.2987, allocations: 96.2 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2987, allocations: 0 / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002544/0.299, allocations: 163.3 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.299, allocations: 41.69 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.299, allocations: 0 / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.299, allocations: 4 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.2991, allocations: 0 / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2991, allocations: 7.938 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.2993, allocations: 36.03 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.2994, allocations: 19.86 kB / 1.063 GB, free: 140 kB / 0.8106 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.62e-05/0.2995, allocations: 121.8 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.2995, allocations: 3.906 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2995, allocations: 7.906 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2995, allocations: 4 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2995, allocations: 0 / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2995, allocations: 3.984 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2997, allocations: 181.6 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2997, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.2997, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2997, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2997, allocations: 4 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.2997, allocations: 3.984 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2997, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.2998, allocations: 96.91 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.336e-05/0.2999, allocations: 81.11 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2999, allocations: 288 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.2999, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3, allocations: 7.984 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.3, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.3, allocations: 99.27 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3, allocations: 0 / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002057/0.3002, allocations: 23.94 kB / 1.064 GB, free: 15.41 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.0004305/0.3007, allocations: 0.6319 MB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3009, allocations: 135.3 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3009, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.301, allocations: 20.11 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.3012, allocations: 19.98 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.3027, allocations: 1.5 MB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.303, allocations: 0.6887 MB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.303, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.3031, allocations: 19.42 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.3031, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.3158, allocations: 2.123 MB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3161, allocations: 209.2 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/1.938, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches