Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.004516/0.004516, allocations: 102 kB / 15.73 MB, free: 6.035 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.001084/0.001085, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6461, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001636/0.6477, allocations: 0.7237 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.6488, allocations: 1.138 MB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.6489, allocations: 0 / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.6489, allocations: 3.938 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.649, allocations: 15.94 kB / 1.089 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.6494, allocations: 131.4 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.6496, allocations: 125.5 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.6496, allocations: 16.53 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.6497, allocations: 48.34 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.6498, allocations: 41.84 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.6499, allocations: 12 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-05/0.6499, allocations: 34.72 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.65, allocations: 8.047 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.9e-05/0.65, allocations: 41.25 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.6502, allocations: 133.1 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6502, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6502, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6502, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 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.0003833/0.6506, allocations: 396.1 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6507, allocations: 13.47 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.6507, allocations: 31.45 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.6507, allocations: 6.844 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.6508, allocations: 178.9 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6509, allocations: 7.969 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.6509, allocations: 6.328 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.651, allocations: 49.2 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.651, allocations: 3.938 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.651, allocations: 2.203 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.651, allocations: 0 / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.6511, allocations: 16.45 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.6514, allocations: 334.6 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.6515, allocations: 31.58 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.6515, allocations: 13.31 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.6515, allocations: 1.062 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.6516, allocations: 73 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.6516, allocations: 0 / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001828/0.6518, allocations: 76.08 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.6519, allocations: 52.75 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.6519, allocations: 129.2 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.652, allocations: 27.64 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.652, allocations: 94.31 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.652, allocations: 5.797 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.6521, allocations: 38.23 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.6521, allocations: 318.5 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.6522, allocations: 39.47 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.433e-05/0.6523, allocations: 55.19 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.6524, allocations: 91.36 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6524, allocations: 4.812 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002632/0.6527, allocations: 161.8 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.6527, allocations: 39.16 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6528, allocations: 1.188 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6528, allocations: 1.656 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.6528, allocations: 2.312 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6528, allocations: 2.203 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.653, allocations: 28.7 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.6531, allocations: 9.406 kB / 1.092 GB, free: 1.59 MB / 0.8575 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 6.295e-05/0.6531, allocations: 125.8 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.6531, allocations: 5.812 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.6532, allocations: 11.3 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6532, allocations: 0 / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6532, allocations: 0.8438 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6532, allocations: 0.7031 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.017e-05/0.6533, allocations: 173.9 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6533, allocations: 1.156 kB / 1.092 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.6533, allocations: 5.891 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6533, allocations: 1.219 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6533, allocations: 1.797 kB / 1.092 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6533, allocations: 4.062 kB / 1.092 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.6533, allocations: 3.938 kB / 1.092 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.6534, allocations: 89.81 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.6535, allocations: 84.38 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.6535, allocations: 0.7031 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.6535, allocations: 13.44 kB / 1.093 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.6535, allocations: 7.031 kB / 1.093 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.6536, allocations: 5.406 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.6536, allocations: 94.72 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6536, allocations: 0 / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002221/0.6538, allocations: 21.02 kB / 1.093 GB, free: 0.9609 MB / 0.8575 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.0003252/0.6542, allocations: 0.6362 MB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.6544, allocations: 134.2 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6544, allocations: 0 / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.6545, allocations: 20.02 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.6547, allocations: 11.2 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.6561, allocations: 1.502 MB / 1.095 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.6563, allocations: 0.6832 MB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.6564, allocations: 4.859 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.6564, allocations: 16.09 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.6564, allocations: 0.9688 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.6746, allocations: 2.375 MB / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.941, allocations: 2.234 kB / 1.098 GB, free: 13.78 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches