Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01014/0.01014, allocations: 99.03 kB / 15.73 MB, free: 6.008 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.002304/0.002304, allocations: 189.9 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.749/2.749, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.582/4.582, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 59.91 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758/1.761, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00654/1.768, allocations: 0.7309 MB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003678/1.771, allocations: 1.131 MB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/1.772, allocations: 3.938 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.626e-05/1.772, allocations: 0 / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/1.772, allocations: 19.84 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/1.773, allocations: 136 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004842/1.774, allocations: 127.8 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/1.774, allocations: 19.98 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/1.774, allocations: 51.83 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/1.774, allocations: 39.89 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/1.775, allocations: 16 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/1.775, allocations: 27.98 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/1.775, allocations: 11.92 kB / 1.168 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/1.775, allocations: 43.84 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/1.776, allocations: 126.4 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/1.776, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.571e-06/1.776, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.776, allocations: 0 / 1.169 GB, free: 1.289 MB / 0.8887 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.001521/1.777, allocations: 397.9 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 9.806e-05/1.777, allocations: 12.92 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.944e-05/1.777, allocations: 38.75 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.777, allocations: 8.891 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/1.778, allocations: 176.3 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/1.778, allocations: 4.375 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/1.778, allocations: 4.375 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/1.778, allocations: 46.25 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.778, allocations: 3.938 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/1.778, allocations: 3.938 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/1.778, allocations: 0 / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/1.779, allocations: 19.92 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.78, allocations: 332.8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/1.78, allocations: 22.58 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/1.78, allocations: 12.92 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/1.78, allocations: 4 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/1.78, allocations: 79.27 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/1.78, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0004795/1.781, allocations: 73.67 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.781, allocations: 51.41 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/1.781, allocations: 129.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/1.781, allocations: 29.69 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/1.782, allocations: 88.14 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/1.782, allocations: 15.89 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.782, allocations: 33.64 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003466/1.782, allocations: 326.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.782, allocations: 35.98 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/1.783, allocations: 58.5 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/1.783, allocations: 88.27 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.783, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005297/1.783, allocations: 163.2 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.784, allocations: 44.03 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.784, allocations: 0 / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.955e-05/1.784, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/1.784, allocations: 3.938 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.784, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/1.784, allocations: 23.97 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/1.784, allocations: 11.98 kB / 1.171 GB, free: 14.71 MB / 0.9044 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.0002303/1.784, allocations: 121.8 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/1.784, allocations: 7.953 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/1.785, allocations: 7.906 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.011e-05/1.785, allocations: 240 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.785, allocations: 7.938 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.785, allocations: 3.984 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/1.785, allocations: 173.6 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.785, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.914e-05/1.785, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.785, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.785, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.785, allocations: 64 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.785, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/1.786, allocations: 100.9 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.786, allocations: 77.11 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/1.786, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/1.786, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/1.786, allocations: 11.98 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/1.786, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001509/1.786, allocations: 95.27 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.786, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003629/1.787, allocations: 24 kB / 1.171 GB, free: 13.98 MB / 0.9044 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.001226/1.788, allocations: 0.6395 MB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004899/1.788, allocations: 135.4 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.788, allocations: 0 / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/1.788, allocations: 15.94 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.789, allocations: 14.05 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/1.793, allocations: 1.489 MB / 1.174 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008414/1.793, allocations: 0.6884 MB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.799e-05/1.793, allocations: 4 kB / 1.174 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.794, allocations: 23.42 kB / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of SimCode: time 7.11e-07/1.794, allocations: 0 / 1.174 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04242/1.836, allocations: 2.357 MB / 1.177 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.68, allocations: 16.45 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches