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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.005574/0.005574, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.001305/0.001305, allocations: 196.4 kB / 16.68 MB, free: 5.523 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.453/2.453, allocations: 482.6 MB / 0.7551 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 61.31 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.262, allocations: 162.3 MB / 1.242 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001654/0.2637, allocations: 0.7148 MB / 1.243 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2651, allocations: 1.133 MB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.2651, allocations: 0 / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.2652, allocations: 7.922 kB / 1.244 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.2652, allocations: 15.88 kB / 1.244 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2657, allocations: 134.9 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2658, allocations: 139.7 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.672e-05/0.2659, allocations: 9.406 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.671e-05/0.266, allocations: 47.91 kB / 1.244 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.332e-05/0.2661, allocations: 47.81 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.2661, allocations: 12 kB / 1.244 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.2662, allocations: 27.98 kB / 1.244 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.2662, allocations: 11.88 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.2663, allocations: 35.91 kB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.2665, allocations: 135.8 kB / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.2665, allocations: 0 / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2665, allocations: 0 / 1.244 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2665, allocations: 4 kB / 1.244 GB, free: 6.434 MB / 0.9669 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.0004612/0.267, allocations: 396.9 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.267, allocations: 12.03 kB / 1.245 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.233e-05/0.2671, allocations: 30.75 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.2671, allocations: 12.88 kB / 1.245 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2673, allocations: 180.3 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2673, allocations: 384 / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.2673, allocations: 8.375 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.2674, allocations: 46.19 kB / 1.245 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2674, allocations: 7.938 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.2674, allocations: 0 / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2674, allocations: 4 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.2675, allocations: 15.98 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.2679, allocations: 328.7 kB / 1.245 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.087e-05/0.2679, allocations: 34.5 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.268, allocations: 16.86 kB / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.268, allocations: 0 / 1.245 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/0.2681, allocations: 71.33 kB / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2681, allocations: 0 / 1.245 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.2683, allocations: 73.62 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.2684, allocations: 55.41 kB / 1.246 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2685, allocations: 125.8 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2685, allocations: 29.7 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.2686, allocations: 92.09 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.2686, allocations: 3.953 kB / 1.246 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.2687, allocations: 37.7 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2688, allocations: 318.8 kB / 1.246 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.2689, allocations: 39.98 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.269, allocations: 54.56 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2691, allocations: 96.2 kB / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2691, allocations: 0 / 1.246 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002566/0.2694, allocations: 159.2 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.2694, allocations: 43.88 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2694, allocations: 8.062 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2694, allocations: 3.938 kB / 1.247 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.2695, allocations: 4 kB / 1.247 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2695, allocations: 0 / 1.247 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.2697, allocations: 28.03 kB / 1.247 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.2697, allocations: 7.984 kB / 1.247 GB, free: 3.859 MB / 0.9669 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.671e-05/0.2698, allocations: 121.8 kB / 1.247 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.2698, allocations: 3.953 kB / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.2698, allocations: 15.84 kB / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2699, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2699, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2699, allocations: 3.984 kB / 1.247 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.27, allocations: 173.6 kB / 1.247 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.27, allocations: 8 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.27, allocations: 0 / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.27, allocations: 3.938 kB / 1.247 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.2701, allocations: 0 / 1.247 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.2701, allocations: 4 kB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2701, allocations: 3.984 kB / 1.247 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2702, allocations: 89.02 kB / 1.247 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.2702, allocations: 81.11 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2703, allocations: 4 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.672e-05/0.2703, allocations: 0 / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.2703, allocations: 3.984 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2703, allocations: 4 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.741e-05/0.2704, allocations: 103.2 kB / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 0 / 1.247 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001929/0.2706, allocations: 19.94 kB / 1.247 GB, free: 3.129 MB / 0.9669 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.0004279/0.271, allocations: 0.6363 MB / 1.248 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.2712, allocations: 131.6 kB / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2712, allocations: 0 / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.2713, allocations: 24.08 kB / 1.248 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2715, allocations: 20 kB / 1.248 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.273, allocations: 1.49 MB / 1.249 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2733, allocations: 0.6807 MB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.2733, allocations: 4 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2734, allocations: 19.42 kB / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.2734, allocations: 0 / 1.25 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.822/1.095, allocations: 2.369 MB / 1.252 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.443, allocations: 10.73 kB / 1.252 GB, free: 13.71 MB / 0.9825 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=400 --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