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.004729/0.004729, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001284/0.001284, allocations: 187.2 kB / 16.67 MB, free: 5.922 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.95 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3064, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001973/0.3084, allocations: 0.7227 MB / 1.242 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.31, allocations: 1.129 MB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.31, allocations: 0 / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.3101, allocations: 3.938 kB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.3102, allocations: 15.92 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.3107, allocations: 136.2 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3109, allocations: 131.7 kB / 1.244 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.311, allocations: 13.39 kB / 1.244 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.311, allocations: 47.91 kB / 1.244 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3112, allocations: 35.89 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.3112, allocations: 12 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.3113, allocations: 27.98 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3113, allocations: 11.92 kB / 1.244 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.3114, allocations: 43.84 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3116, allocations: 135.8 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3116, allocations: 0 / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3116, allocations: 4 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3116, allocations: 0 / 1.244 GB, free: 6.816 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.0005228/0.3121, allocations: 396.9 kB / 1.244 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3122, allocations: 12.03 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3122, allocations: 34.75 kB / 1.244 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3123, allocations: 8.891 kB / 1.244 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.3124, allocations: 180.3 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3125, allocations: 384 / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3125, allocations: 12.38 kB / 1.245 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.3126, allocations: 46.23 kB / 1.245 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3126, allocations: 11.81 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.3126, allocations: 4 kB / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.3126, allocations: 0 / 1.245 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.3127, allocations: 8 kB / 1.245 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.3131, allocations: 332.7 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.3132, allocations: 30.56 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.3133, allocations: 24.8 kB / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.3133, allocations: 0 / 1.245 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3134, allocations: 63.34 kB / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3134, allocations: 0 / 1.245 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002071/0.3136, allocations: 69.69 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3137, allocations: 63.39 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3138, allocations: 129.7 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3139, allocations: 29.7 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.3139, allocations: 96.11 kB / 1.245 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.314, allocations: 11.95 kB / 1.245 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.314, allocations: 29.7 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3142, allocations: 318.8 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3143, allocations: 35.98 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3144, allocations: 58.55 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.3146, allocations: 96.2 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3146, allocations: 0 / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002827/0.3149, allocations: 159.2 kB / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.3149, allocations: 37.7 kB / 1.246 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3149, allocations: 4 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.315, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.315, allocations: 3.984 kB / 1.246 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.315, allocations: 8.062 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.3152, allocations: 23.97 kB / 1.246 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.3152, allocations: 4 kB / 1.246 GB, free: 4.242 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 0.0001014/0.3153, allocations: 118.3 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.3154, allocations: 7.953 kB / 1.246 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3154, allocations: 11.89 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3154, allocations: 4 kB / 1.246 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3154, allocations: 4 kB / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3154, allocations: 0 / 1.246 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3156, allocations: 173.7 kB / 1.246 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3156, allocations: 3.984 kB / 1.246 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.3156, allocations: 11.88 kB / 1.246 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3156, allocations: 3.938 kB / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3156, allocations: 0 / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3156, allocations: 0 / 1.246 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3157, allocations: 4 kB / 1.246 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3158, allocations: 93.25 kB / 1.247 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.3159, allocations: 85.09 kB / 1.247 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3159, allocations: 4 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.3159, allocations: 48 / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.3159, allocations: 3.984 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3159, allocations: 4 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.316, allocations: 99.27 kB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.316, allocations: 0 / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.3162, allocations: 19.94 kB / 1.247 GB, free: 3.5 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.0005081/0.3168, allocations: 0.6358 MB / 1.247 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.317, allocations: 139.3 kB / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.317, allocations: 0 / 1.248 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.3171, allocations: 16 kB / 1.248 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3173, allocations: 20.11 kB / 1.248 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.319, allocations: 1.484 MB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3194, allocations: 0.6807 MB / 1.25 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.3194, allocations: 11.98 kB / 1.25 GB, free: 360 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.3194, allocations: 19.44 kB / 1.25 GB, free: 340 kB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.3194, allocations: 3.938 kB / 1.25 GB, free: 336 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.3429, allocations: 2.343 MB / 1.252 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/7.995, allocations: 20.59 kB / 1.252 GB, free: 14.08 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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